/* ================================================================
   HOSPODYŇKÁM – POP-UP ID 3 (návrh 2 – image aside)
   Přebíjí generované SE styly pro #se-webform-3 (accountId 237249).
   SE admin řídí: obrázek, nadpis, popis, popisky polí, text tlačítka.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700;800;900&display=swap');

/* Modal wrapper – neutralizovat, aby náš form určoval vzhled */
.se-webform-v2-modal-content {
    max-width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Zavírací křížek – bílé kolečko v pravém horním rohu formu */
.se-webform-v2-close-button {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    width: 34px !important;
    height: 34px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    color: #a72138 !important;
    line-height: 34px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 20 !important;
    font-weight: 400 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* ----- Formulář (override nativního `.se-has-image-aside` display:table) ----- */
#se-webform-3.se-webform,
#se-webform-3.se-webform.se-has-image-aside {
    width: 760px !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: 'Fraunces', Georgia, serif !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

/* Levá strana – obrázek (SE vkládá inline background-image z adminu) */
#se-webform-3.se-webform.se-has-image-aside .se-image-aside {
    display: block !important;
    width: 340px !important;
    height: auto !important;
    min-height: 480px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Skrýt duplicitní .se-image uvnitř inner (SE ho tam generuje jako fallback) */
#se-webform-3 .se-webform-inner .se-image {
    display: none !important;
}

/* Kulaté razítko se slevou (přidá JS do .se-image-aside) */
#se-webform-3 .se-discount-stamp {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    width: 115px !important;
    height: 115px !important;
    border-radius: 50% !important;
    background: #a72138 !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    font-family: 'Fraunces', Georgia, serif !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    transform: rotate(-8deg) !important;
    border: 3px dashed rgba(255, 255, 255, 0.55) !important;
}

#se-webform-3 .se-discount-stamp .stamp-label {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    opacity: 0.9 !important;
    margin-top: -7px !important;
    color: #ffffff !important;
}

#se-webform-3 .se-discount-stamp .stamp-value {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 4px 0 !important;
    color: #ffffff !important;
}

#se-webform-3 .se-discount-stamp .stamp-sub {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    opacity: 0.95 !important;
    color: #ffffff !important;
}

/* Pravá strana – obsah (override display:table-cell z nativního SE) */
#se-webform-3.se-webform.se-has-image-aside .se-webform-inner {
    display: block !important;
    width: auto !important;
    flex: 1 !important;
    padding: 42px 40px 34px !important;
    vertical-align: baseline !important;
}

/* Header – eyebrow (přidá JS) + nadpis (ze SE adminu) */
#se-webform-3 .se-header {
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    text-align: left !important;
}

#se-webform-3.se-webform.se-has-image-aside .se-webform-inner .se-header h3 {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #2b1a1a !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

#se-webform-3 .se-header h3 em {
    font-family: 'Fraunces', Georgia, serif !important;
    color: #a72138 !important;
    font-style: normal !important;
}

#se-webform-3 .se-header .se-eyebrow {
    display: inline-block !important;
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 2.5px !important;
    color: #a72138 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}

/* Popis (ze SE adminu) */
#se-webform-3.se-webform.se-has-image-aside .se-webform-inner .se-text {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

#se-webform-3.se-webform.se-has-image-aside .se-webform-inner .se-text p {
    font-family: 'Fraunces', Georgia, serif !important;
    color: #6b5959 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
    border: 0 !important;
}

/* Formulář – seznam */
#se-webform-3.se-webform .se-body {
    padding: 0 !important;
    margin: 0 !important;
}

#se-webform-3.se-webform .se-body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#se-webform-3.se-webform .se-body ul li {
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    text-align: left !important;
    background: none !important;
}

#se-webform-3.se-webform .se-body ul li label {
    display: block !important;
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #2b1a1a !important;
    padding: 0 0 4px 4px !important;
    margin: 0 !important;
}

#se-webform-3.se-webform .se-body ul li label.se-required::after {
    content: " *" !important;
    color: #a72138 !important;
}

#se-webform-3 .se-body ul li input[type=text],
#se-webform-3 .se-body ul li input[type=email] {
    width: 100% !important;
    height: 42px !important;
    border: 1.5px solid #e4d5cf !important;
    border-radius: 0 !important;
    background: #fdf9f7 !important;
    padding: 0 14px !important;
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 14px !important;
    color: #2b1a1a !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s, background 0.2s !important;
    font-weight: 400 !important;
    text-align: left !important;
    display: block !important;
}

#se-webform-3 .se-body ul li input[type=text]:focus,
#se-webform-3 .se-body ul li input[type=email]:focus {
    border: 1.5px solid #a72138 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Autofill (Chrome) – nepřeblikávat modrou */
#se-webform-3 input:-webkit-autofill,
#se-webform-3 input:-webkit-autofill:hover,
#se-webform-3 input:-webkit-autofill:focus,
#se-webform-3 input:-webkit-autofill:active {
    box-shadow: 0 0 0px 1000px #fdf9f7 inset !important;
    -webkit-box-shadow: 0 0 0px 1000px #fdf9f7 inset !important;
    -webkit-text-fill-color: #2b1a1a !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* GDPR text (přidá JS) */
#se-webform-3 li.se-webform-primary-purpose {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 11px !important;
    color: #8a7676 !important;
    text-align: left !important;
    padding: 8px 0 12px !important;
    margin: 0 !important;
    border: none !important;
    line-height: 1.4 !important;
    background: none !important;
}

#se-webform-3 li.se-webform-primary-purpose a {
    color: #a72138 !important;
    text-decoration: underline !important;
    font-family: 'Fraunces', Georgia, serif !important;
}

/* Tlačítko (text ze SE adminu, přes CSS uppercase) */
#se-webform-3.se-webform.se-has-image-aside .se-webform-inner .se-submit {
    padding: 0 !important;
    margin: 4px 0 0 !important;
    text-align: left !important;
}

#se-webform-3 .se-submit button {
    width: 100% !important;
    height: 52px !important;
    background: #a72138 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(167, 33, 56, 0.35) !important;
    transition: background 0.2s, transform 0.1s !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#se-webform-3 .se-submit button:hover {
    background: #8a1a2e !important;
}

#se-webform-3 .se-submit button:active {
    transform: translateY(1px) !important;
}

/* Responsivita – pod 720px se skládá pod sebe (override nativního `.se-shrink`) */
@media (max-width: 720px) {
    #se-webform-3.se-webform,
    #se-webform-3.se-webform.se-has-image-aside {
        width: 420px !important;
        flex-direction: column !important;
    }
    #se-webform-3.se-webform.se-has-image-aside .se-image-aside {
        width: 100% !important;
        height: 230px !important;
        min-height: 230px !important;
        background-position: center -110px !important;
    }
    #se-webform-3 .se-discount-stamp {
        top: 9px !important;
        left: 9px !important;
    }
    #se-webform-3.se-webform.se-has-image-aside .se-webform-inner {
        padding: 30px 26px 24px !important;
    }
    #se-webform-3.se-webform.se-has-image-aside .se-webform-inner .se-header h3 {
        font-size: 24px !important;
    }
}

@media (max-width: 460px) {
    #se-webform-3.se-webform,
    #se-webform-3.se-webform.se-has-image-aside {
        width: 100% !important;
        border-radius: 10px !important;
    }
}
