/* Composiciones exclusivas de mobile. Este archivo se carga con media <768px. */
@media (max-width: 767.98px) {
    :root { --pn-header-height: calc(56px + env(safe-area-inset-top, 0px)); }
    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    body { max-width: 100%; overflow-x: clip; }
    .pn-header { height: var(--pn-header-height); padding: env(safe-area-inset-top, 0px) max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px)); }
    .pn-header__logo img { height: auto; width: 94px; }
    .pn-header__icons { gap: 0; }
    .pn-header__icons a,.pn-header__icons button { width: 40px; height: 44px; }
    .pn-header__icons img { width: 20px; height: 20px; }

    .pn-age-page { display: block; padding-top: var(--pn-header-height); }
    .pn-age-header { display: contents; }
    .pn-age-stage { min-height: max(520px, calc(100svh - var(--pn-header-height))); background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_edad.png'); background-size: 100% 100%; }
    .pn-age-actions { top: 59%; gap: 7%; }
    .pn-age-actions a,.pn-age-actions button { width: 11%; min-width: 44px; }
    .pn-age-dialog { width: 92%; border-radius: 10px; }

    .pn-home .pn-section { height: max(520px, calc(100svh - var(--pn-header-height))); background-size: 100% 100%; }
    .pn-home .pn-hero { background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_kv.png'); }
    .pn-home .pn-hero::before { content: none; }
    .pn-hero-content { width: 100%; }
    .pn-hero-content .pn-welcome,.pn-hero-content .pn-campaign-logo,.pn-hero-content .pn-hero-art { display: none; }
    .pn-hero-content .pn-participate { left: 22%; width: 56%; top: 73%; bottom: auto; font-size: clamp(16px, 5.6vw, 24px); }

    .pn-home .pn-products { background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_productos.png'); }
    .pn-product-stage { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
    .pn-product-frame { display: none; }
    .pn-product-slides { left: 30%; top: 40%; width: 40%; height: 26%; }
    .pn-product-slides figure img { height: 85%; width: 100%; object-fit: contain; }
    .pn-product-slides figcaption { font-size: clamp(8px, 2.5vw, 12px); margin-top: 7px; padding: 3px 8px; }
    .pn-product-prev { left: 23%; top: 49%; }
    .pn-product-next { right: 23%; top: 49%; }
    .pn-product-dots { bottom: 28%; }
    .pn-arrow { width: 44px; height: 44px; }
    .pn-arrow img { width: 26px; height: 26px; margin: auto; }
    .pn-mobile-decoration { display: block; position: absolute; z-index: 3; width: 36%; bottom: 22%; pointer-events: none; }
    .pn-mobile-decoration-left { left: -4%; }
    .pn-mobile-decoration-right { right: -4%; }

    .pn-home .pn-how { background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_menu.png'); }
    .pn-steps { width: 100%; }
    .pn-how-title { top: 24%; width: clamp(220px, 70vw, 400px); }
    .pn-step-slides { left: 8%; top: 33%; width: 78%; height: 39%; }
    .pn-step-prev { left: 5%; top: 49%; }
    .pn-step-next { right: 5%; top: 49%; }
    .pn-step-dots { bottom: 25%; }
    .pn-dots button { width: 16px; }
    .pn-dots button::before { width: 4px; height: 4px; }

    .pn-home .pn-draws { background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_sorteos.png'); height: auto; min-height: max(520px, calc(100svh - var(--pn-header-height))); padding: 0 12px 24px; justify-content: flex-start; gap: 0; }
    .pn-draws h2 { position: relative; flex: none; width: 62%; margin-top: 28%; margin-bottom: 20px; }
    .pn-draws h2 img { display: block; width: 100%; height: auto; }
    .pn-draw-title-text { position: absolute; inset: 15% 23%; display: grid; place-items: center; background: #0646c3; color: #fff; font: 800 clamp(17px, 5.2vw, 30px)/1 Arial, sans-serif; }
    .pn-draw-table { width: 100%; font-size: clamp(9px, 2.5vw, 12px); }
    .pn-draw-table th,.pn-draw-table td { padding: 9px 3px; }
    .pn-draw-table th:first-child { width: 17%; }
    .pn-draw-table th:nth-child(2),.pn-draw-table td:nth-child(2) { width: 22%; }
    .pn-draw-table th:nth-child(3) { width: 45%; }
    .pn-draw-table th:nth-child(4) { width: 16%; }
    .pn-mobile-draw-mascot { display: block; position: static; flex: none; width: 52%; height: auto; margin: 42px auto 0; pointer-events: none; }
    .pn-home .pn-terms { height: auto; background: #fff; padding: 40px 18px max(28px, env(safe-area-inset-bottom, 0px)); gap: 24px; justify-content: flex-start; }
    .pn-terms-link { width: 82%; max-width: 400px; }
    .pn-terms .pn-terms-title { width: 100%; margin: 0; height: auto; }
    .pn-legal-summary { font-size: 11px; line-height: 1.65; text-align: justify; }
    .pn-footer { margin-top: 12px; }
    .pn-footer-main { grid-template-columns: minmax(64px, .8fr) minmax(0, 2.2fr); gap: 14px; }
    .pn-footer-links { gap: 16px 10px; }
    .pn-footer-links a { font-size: clamp(10px, 2.8vw, 13px); }
    .pn-footer-follow { margin-top: 32px; }
    .pn-footer-follow p { font-size: 12px; }
    .pn-footer-socials { gap: 14px; margin: 12px 0 22px; }
    .pn-footer-socials a { width: 32px; height: 32px; }
    .pn-footer small { font-size: 9px; }

    .pn-menu-stage { min-height: max(520px, calc(100svh - var(--pn-header-height))); background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_menu.png'); }
    .pn-menu-stage::before { content: none; }
    .pn-menu-campaign { top: 14%; left: 23%; width: 54%; height: 17%; }
    .pn-menu-options { left: 12%; top: 35%; width: 76%; }
    .pn-campaign-nav { width: 100%; }
    .pn-campaign-nav a { font-size: clamp(14px, 3.8vw, 20px); padding: .65em 0; border-width: 1px; }
    .pn-menu-participate { margin-top: 24px; padding: 10px 30px; font-size: 16px; }

    .pn-help-dialog { width: min(92vw, 480px); max-width: calc(100vw - 24px); border-radius: 12px; }
    .pn-help-heading { display: block; top: 5%; left: 29%; width: 42%; height: 11%; padding: 2px; background: #0646c3; }
    #pn-help-form input,#pn-help-form textarea { padding: 1px 4px; font-size: 16px; min-height: 20px; }
    .pn-help-actions button { font-size: 11px; min-height: 24px; }
    .pn-help-actions { left: 28%; right: 28%; top: 82%; bottom: auto; gap: 10%; }
    .pn-help-status { font-size: 10px; bottom: 18%; }

    .pn-winners-dialog { width: min(92vw, 480px); max-width: calc(100vw - 24px); padding: 8px; border-radius: 12px; background: #0646c3 url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-pop_ganadores.png') center / 100% 100%; }
    .pn-winners-dialog h2 { padding: 8px 0; height: 40px; }
    .pn-winners-dialog h2 img { visibility: hidden; }
    .pn-winners-content { padding: 22px 13% 28px; }
    .pn-winners-search { width: 78%; margin-bottom: 16px; }
    .pn-winners-search input { font-size: 16px; height: 34px; }
    .pn-winner-row { font-size: 12px; gap: 12px; padding: 18px 2px; }
    .pn-winners-close { font-size: 20px; top: 3px; right: 5px; }

    .panasonic-register .registro-page { display: block; min-height: calc(100svh - var(--pn-header-height)); background: #fff url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_registro.png') center / 100% 100% no-repeat; }
    .panasonic-register .registro-page::before { content: none; }
    .panasonic-register .registro-layout { display: flex; flex-direction: column; width: calc(100% - 32px); min-height: calc(100svh - var(--pn-header-height)); padding: 28px 0 env(safe-area-inset-bottom, 0px); }
    .panasonic-register .registro-heading { margin-bottom: 18px; }
    .panasonic-register .registro-heading h1 { font-size: clamp(18px, 4.7vw, 28px); letter-spacing: -.5px; }
    .panasonic-register .registro-heading p { font-size: 10px; margin-top: 4px; }
    .panasonic-register .registro-form { width: 100%; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 14px; align-items: start; }
    .panasonic-register .form-cols { display: contents; }
    .panasonic-register .form-col:first-child { grid-column: 1; grid-row: 1 / 3; }
    .panasonic-register .form-col:nth-child(2) { grid-column: 2; grid-row: 1; }
    .panasonic-register .form-footer { grid-column: 2; grid-row: 2; width: 100%; margin-top: 4px; }
    .panasonic-register .form-group { margin-bottom: 12px; }
    .panasonic-register .field-label { font-size: 10px; margin-bottom: 4px; }
    .panasonic-register .label-desc { font-size: 8px; }
    .panasonic-register .form-control { height: 32px; padding-inline: 6px; font-size: 16px; }
    .panasonic-register .upload-box { height: 48px; }
    .panasonic-register .reference-trigger { margin: 4px 0 6px; padding: 7px 8px; gap: 4px; font-size: 10px; }
    .panasonic-register .reference-trigger svg { width: 14px; height: 14px; }
    .panasonic-register .checkbox-group { grid-template-columns: 12px minmax(0, 1fr); gap: 4px; }
    .panasonic-register .checkbox-group input { width: 12px; height: 12px; }
    .panasonic-register .checkbox-group label { font-size: 9px; line-height: 1.3; }
    .panasonic-register .btn-participar { border-radius: 20px; min-height: 32px; padding: 7px 4px; font-size: 11px; margin-top: 12px; }
    .panasonic-register .premios-art { position: relative; right: auto; bottom: auto; align-self: center; width: calc(100% + 32px); max-width: none; margin-top: 28px; }
    .pn-register-result { width: min(92vw, 480px); max-width: calc(100vw - 24px); border-radius: 12px; }
    .pn-register-result-actions>* { font-size: 10px; padding: 7px 2px; }

    .pn-photo-reference { width: min(92vw, 480px); max-width: calc(100vw - 24px); border-radius: 12px; padding: 24px 16px; }
    .pn-photo-reference h2 { padding: 0 30px; font-size: 18px; }
    .pn-photo-reference-description { margin-bottom: 16px; font-size: 12px; }
    .pn-photo-reference-grid { grid-template-columns: 1fr; gap: 16px; }
    .pn-photo-reference-grid figcaption { font-size: 12px; }
    .pn-photo-reference-actions { margin-top: 20px; }
    .pn-photo-reference-actions button { font-size: 14px; padding: 10px 20px; }

    .pn-faq-main { padding: 40px 18px 44px; background-image: url('../img/panasonic/(panasonic) mobile/(panasonic) mobile-fondo_preguntas.png'); }
    .pn-faq-title { width: 94%; margin-bottom: 24px; }
    .pn-faq-title>svg,.pn-faq-title>span { display: none; }
    .pn-mobile-faq-title { display: block; width: 100%; height: auto; }
    .pn-faq-list { width: 90%; height: auto; min-height: 0; padding: 0; overflow: visible; scrollbar-width: none; }
    .pn-faq-item { margin-bottom: 8px; }
    .pn-faq-item summary { min-height: 32px; padding: 7px 8px; border-radius: 5px; font-size: 11px; gap: 5px; }
    .pn-faq-arrow { border-left-width: 4px; border-right-width: 4px; border-top-width: 5px; }
    .pn-faq-answer { padding: 12px; font-size: 14px; }
}
