/**
 * EU Guarantee Notice for PrestaShop.
 *
 * @author    Sinus IKS d.o.o.
 * @copyright 2026 Sinus IKS d.o.o.
 * @license   Commercial license. Use is subject to the applicable PrestaShop Marketplace purchase terms.
 *
 * Official EU artwork and bundled fonts retain their respective rights and notices.
 */

.euguarantees-notice { clear:both; margin:1.5rem auto; width:100%; }
.euguarantees-notice img { display:block; height:auto; max-width:100%; width:100%; }
.euguarantees-garan { clear:both; margin:1rem 0; max-width:420px; }
.euguarantees-garan img { display:block; width:100%; height:auto; }
.euguarantees-garan summary { cursor:pointer; display:block; list-style:none; }
.euguarantees-garan summary::-webkit-details-marker { display:none; }
.euguarantees-garan summary:focus-visible { outline:3px solid #1251a0; outline-offset:4px; }
.euguarantees-garan-full { background:#fff; padding:8px; width:100%; box-sizing:border-box; }
.eug-modal { position:fixed; inset:0; z-index:2147483000; background:rgba(0,0,0,.65); display:flex; align-items:center; justify-content:center; padding:16px; }
.eug-modal-panel { background:#fff; max-height:95vh; width:min(640px,95vw); overflow:auto; padding:16px; box-sizing:border-box; }
.eug-modal-panel img { width:100%; height:auto; display:block; }
.eug-modal-close { display:block; margin:0 0 8px auto; padding:8px 16px; cursor:pointer; background:#fff; color:#111; border:1px solid #555; }

/* Site-wide launchers inherit theme text colours; the floating artwork carries its own contrast. */
.eug-site-notice-link { display:inline-block; padding:8px 12px; text-decoration:underline; }
.eug-floating-notice { position:fixed; z-index:2147482000; display:block; width:56px; height:56px; padding:0; border:0; border-radius:6px; box-shadow:0 2px 10px rgba(0,0,0,.3); line-height:0; }
.eug-floating-notice img { display:block; width:56px; height:56px; }
.eug-floating-notice:focus-visible,.eug-site-notice-link:focus-visible { outline:3px solid #ffcc00; outline-offset:4px; }
.eug-float-top-left,.eug-float-top-center,.eug-float-top-right { top:max(20px,env(safe-area-inset-top)); }
.eug-float-bottom-left,.eug-float-bottom-center,.eug-float-bottom-right { bottom:max(20px,env(safe-area-inset-bottom)); }
.eug-float-top-left,.eug-float-middle-left,.eug-float-bottom-left { left:max(20px,env(safe-area-inset-left)); }
.eug-float-top-right,.eug-float-middle-right,.eug-float-bottom-right { right:max(20px,env(safe-area-inset-right)); }
.eug-float-top-center,.eug-float-bottom-center { left:50%; transform:translateX(-50%); }
.eug-float-middle-left,.eug-float-middle-right { top:50%; transform:translateY(-50%); }
.eug-notice-modal-panel { width:min(900px,95vw); }
.eug-notice-zoom { display:inline-block; margin-bottom:12px; color:#003399; text-decoration:underline; }

/* Deliberately plain merchant badge: no EU symbols, official artwork, QR code or GARAN wordmark. */
.eug-custom-warranty { margin:1rem 0; padding:16px; max-width:480px; border:1px solid #777; border-left:4px solid #555; background:#f5f5f5; color:#222; }
.eug-custom-warranty p { margin:8px 0 0; }
.eug-custom-warranty-rights { font-size:.9em; }

/* Compact launchers keep the complete official artwork available on the first interaction. */
.euguarantees-notice-link { margin:.5rem 0; font-size:1rem; line-height:1.5; }
.euguarantees-notice-link a { display:inline-block; padding:4px 0; text-decoration:underline; text-underline-offset:3px; }
.euguarantees-garan:not([data-eug-mode="full"]) summary { width:260px; max-width:100%; }
.euguarantees-garan { margin:.5rem 0; }
.euguarantees-notice-link a:focus-visible { outline:2px solid #1251a0; outline-offset:3px; }

/* Keep the notice readable on narrow screens; the dialog can pan instead of shrinking its text. */
.eug-notice-modal-panel img { min-width:720px; max-width:none; }
/* Legal-rights launchers are distinct from the fixed official GARAN artwork. */
.eug-notice-button { display:inline-block; padding:9px 14px; border:1px solid #245b78; border-radius:5px; background:#245b78; color:#fff!important; font:inherit; text-decoration:none!important; cursor:pointer; }
.eug-notice-button:focus-visible, .eug-notice-text:focus-visible { outline:3px solid #245b78; outline-offset:3px; }
.eug-notice-text { color:#07529d; text-decoration:underline; cursor:pointer; }
.eug-notice-details { margin:10px 0; }
.eug-notice-details > .euguarantees-notice { margin-top:12px; }
