/* Diseño 3: tarjetas del HTML Destino, limitado al dispositivo que lo eligió. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&family=Dela+Gothic+One&display=swap');

html body #storeFaqSection[data-faq-design-active="3"] {
    --faq-destino-surface: rgba(255, 255, 255, .72);
    --faq-destino-text: #111111;
    --faq-destino-muted: #4b4b4b;
    --faq-destino-border: rgba(0, 0, 0, .2);
    --faq-destino-accent: #111111;
    --faq-destino-body-font: 'Archivo', Arial, sans-serif;
    --faq-destino-heading-font: 'Dela Gothic One', sans-serif;
    box-sizing: border-box;
    width: 100%;
    padding: 56px 36px;
    /* Revela el fondo real de la tienda, con cualquier paleta o color personalizado. */
    background: transparent !important;
    color: var(--faq-destino-text) !important;
    font-family: var(--faq-destino-body-font) !important;
    scroll-margin-top: 90px;
}

/* El estilo de la tarjeta se mantiene al personalizar los colores de la tienda. */
html.appearance-palette-complete body #storeFaqSection[data-faq-design-active="3"] {
    --faq-destino-surface: var(--palette-surface);
    --faq-destino-text: var(--palette-text);
    --faq-destino-muted: var(--palette-muted);
    --faq-destino-border: var(--palette-border);
    --faq-destino-accent: var(--palette-accent);
}
html.appearance-current-style[data-style-fields~="surface_bg"] body #storeFaqSection[data-faq-design-active="3"] { --faq-destino-surface: var(--style-surface-bg); }
html.appearance-current-style[data-style-fields~="text_color"] body #storeFaqSection[data-faq-design-active="3"] { --faq-destino-text: var(--style-text-color); }
html.appearance-current-style[data-style-fields~="muted_color"] body #storeFaqSection[data-faq-design-active="3"] { --faq-destino-muted: var(--style-muted-color); }
html.appearance-current-style[data-style-fields~="border_color"] body #storeFaqSection[data-faq-design-active="3"] { --faq-destino-border: var(--style-border-color); }
html.appearance-current-style[data-style-fields~="accent_color"] body #storeFaqSection[data-faq-design-active="3"] { --faq-destino-accent: var(--style-accent-color); }
html.appearance-current-style[data-style-fields~="font_family"] body #storeFaqSection[data-faq-design-active="3"] {
    --faq-destino-body-font: var(--style-font-family);
    --faq-destino-heading-font: var(--style-font-family);
}

html body #storeFaqSection[data-faq-design-active="3"] .store-faq-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-panel {
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-kicker {
    margin: 0 0 8px;
    text-align: center;
    color: var(--faq-destino-muted) !important;
    font: 400 10px / 1.3 var(--faq-destino-body-font) !important;
    letter-spacing: .2em;
    text-transform: uppercase;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-heading {
    margin: 0;
    text-align: center;
    color: var(--faq-destino-text) !important;
    font: 400 25px / 1.1 var(--faq-destino-heading-font) !important;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-intro {
    margin: 8px 0 0;
    text-align: center;
    color: var(--faq-destino-muted) !important;
    font: 400 13px / 1.65 var(--faq-destino-body-font) !important;
    letter-spacing: .01em;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 22px 0 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-item {
    min-width: 0;
    border: 0 !important;
    border-radius: 14px;
    background: var(--faq-destino-surface) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    overflow: hidden;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-item > summary {
    min-width: 0;
    min-height: 0;
    gap: 16px;
    padding: 18px 20px;
    color: var(--faq-destino-text) !important;
    font: 400 12px / 1.5 var(--faq-destino-body-font) !important;
    letter-spacing: .1em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-item > summary:focus-visible {
    outline: 2px solid var(--faq-destino-accent) !important;
    outline-offset: -3px;
    border-radius: 12px;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-icon {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 1px solid var(--faq-destino-border);
    border-radius: 50%;
    color: var(--faq-destino-text) !important;
    transition: transform .3s ease;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-icon::before,
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-icon::after {
    display: block;
    top: 50%;
    left: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-icon::before { width: 8px; height: 1px; }
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-icon::after { width: 1px; height: 8px; }
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-item[open] .store-faq-icon { transform: rotate(45deg); }
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-answer {
    box-sizing: border-box;
    min-width: 0;
    max-width: 68ch;
    padding: 0 20px 18px;
    color: var(--faq-destino-muted) !important;
    font: 400 13px / 1.65 var(--faq-destino-body-font) !important;
    letter-spacing: .01em;
    text-transform: none;
}
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-answer p { margin: 0; }
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-answer p + p { margin-top: 8px; }
html body #storeFaqSection[data-faq-design-active="3"] .store-faq-answer a { color: var(--faq-destino-accent) !important; }

@media (max-width: 900px) {
    html body #storeFaqSection[data-faq-design-active="3"] { padding: 44px 16px; }
    html body #storeFaqSection[data-faq-design-active="3"] .store-faq-heading { font-size: 19px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html body #storeFaqSection[data-faq-design-active="3"] .store-faq-icon { transition: none; }
}
