#hs-wrap {
    max-width: 680px;
    font-family: inherit;
    color: inherit;
}

/* SEKCE */
.hs-section {
    margin-bottom: 2.5em;
    padding: 1.8em 2em;
    border: 1px solid #d5c9b0;
    border-radius: 4px;
    background: #F4F3EF;
}

.hs-section-title {
    font-size: 1.25em !important;
    font-weight: 700 !important;
    margin: 0 0 1.2em 0 !important;
    padding: 0 !important;
    border: none !important;
    color: #80151B !important;
}

/* POLE */
.hs-field {
    margin-bottom: 1em;
}

.hs-field label {
    display: block;
    margin-bottom: 0.3em;
    font-size: 0.92em;
    font-weight: 600;
}

.hs-input {
    width: 100%;
    max-width: 260px;
    padding: 0.5em 0.7em;
    border: 1px solid #73694E;
    border-radius: 3px;
    font-size: 1em;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.hs-input::-webkit-outer-spin-button,
.hs-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hs-input:focus {
    outline: none;
    border-color: #80151B;
    box-shadow: 0 0 0 2px rgba(128,21,27,0.12);
}

/* AUTOMATICKÁ POLE */
.hs-auto .hs-result-field {
    display: inline-block;
    min-width: 160px;
    padding: 0.4em 0.7em;
    border: 1px solid #73694E;
    border-radius: 3px;
    background: #f0ece3;
    font-size: 1em;
    font-weight: 700;
    color: #80151B;
}

.hs-hint {
    font-size: 0.82em;
    color: #80151B;
    margin: 0.3em 0 0 0;
    font-style: italic;
}

/* DVA SLOUPCE */
.hs-row-2 {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
}

.hs-row-2 .hs-field {
    flex: 1;
    min-width: 160px;
}

/* VÝSLEDEK */
.hs-section-result {
    border-color: #80151B;
    background: #fff8f8;
}

.hs-result-box {
    display: flex;
    align-items: baseline;
    gap: 0.4em;
    margin: 0.5em 0 0.8em;
}

.hs-result-number {
    font-size: 3em;
    font-weight: 700;
    color: #80151B;
    line-height: 1;
}

.hs-result-label {
    font-size: 1.1em;
    color: #80151B;
    font-weight: 600;
}

/* E-MAIL */
.hs-email-area {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid #d5c9b0;
}

.hs-email-area p {
    margin: 0 0 0.7em;
    font-size: 0.95em;
}

.hs-email-row {
    display: flex;
    gap: 0.7em;
    flex-wrap: wrap;
    align-items: center;
}

.hs-email-row input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.55em 0.8em;
    border: 1px solid #73694E;
    border-radius: 3px;
    font-size: 0.95em;
    font-family: inherit;
}

.hs-email-row input[type="email"]:focus {
    outline: none;
    border-color: #80151B;
    box-shadow: 0 0 0 2px rgba(128,21,27,0.12);
}

#hs-send-btn {
    padding: 0.55em 1.4em;
    background: #80151B;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    transition: background 0.2s;
}

#hs-send-btn:hover {
    background: #73694E;
}

#hs-send-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.hs-msg {
    margin-top: 0.6em;
    font-size: 0.9em;
    padding: 0.5em 0.8em;
    border-radius: 3px;
}

.hs-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.hs-msg.error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* MOBILNÍ */
@media (max-width: 540px) {
    .hs-section {
        padding: 1.2em 1em;
    }
    .hs-input {
        max-width: 100%;
    }
    .hs-result-number {
        font-size: 2.2em;
    }
    .hs-email-row {
        flex-direction: column;
        align-items: stretch;
    }
    #hs-send-btn {
        width: 100%;
    }
}
