

#mega-floor-calculator {
    max-width: 1120px;
    margin: 10px auto 40px auto;
    color: #4f4a46;
    font-family: inherit;
}

#mega-floor-calculator * {
    box-sizing: border-box;
}
/* SEO OBSAH POD KALKULÁTOROM */

.mega-calculator-seo-content {
    margin-top: 42px;
}

.mega-calculator-seo-content h2 {
    margin-top: 34px;
    margin-bottom: 16px;
}

.mega-calculator-seo-content p {
    line-height: 1.65;
}

.mega-calculator-seo-content table {
    width: 100%;
    margin: 18px 0 32px 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid #e3ddd7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.mega-calculator-seo-content th,
.mega-calculator-seo-content td {
    padding: 13px 16px;
    border-bottom: 1px solid #eee8e2;
    vertical-align: middle;
}

.mega-calculator-seo-content tr:last-child th,
.mega-calculator-seo-content tr:last-child td {
    border-bottom: 0;
}

.mega-calculator-seo-content tr:nth-child(even) {
    background: #faf8f5;
}

.mega-calculator-seo-content th {
    width: 78%;
    color: #554f4a;
    font-weight: 700;
    text-align: left;
}

.mega-calculator-seo-content td {
    width: 22%;
    color: #8A5D1B;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

@media only screen and (max-width: 600px) {

    .mega-calculator-seo-content {
        margin-top: 30px;
    }

    .mega-calculator-seo-content th,
    .mega-calculator-seo-content td {
        padding: 11px 10px;
        font-size: 13px;
    }

    .mega-calculator-seo-content th {
        width: 68%;
    }

    .mega-calculator-seo-content td {
        width: 32%;
    }
}
#mega-floor-calculator .mfc-shell {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ded8d2;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(60,50,45,.10);
}

#mega-floor-calculator .mfc-head {
    padding: 27px 28px 22px 28px;
    text-align: center;
    border-bottom: 1px solid #ece7e2;
}

#mega-floor-calculator .mfc-kicker,
#mega-floor-calculator .mfc-summary-kicker {
    color: #A9782A;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#mega-floor-calculator .mfc-title {
    margin: 6px 0 8px 0;
    color: #4f4a46 !important;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
    text-shadow: none !important;
}

#mega-floor-calculator .mfc-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #766f69;
    font-size: 15px;
    line-height: 1.55;
}

#mega-floor-calculator .mfc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .85fr);
    gap: 0;
    align-items: start;
}

#mega-floor-calculator .mfc-form {
    padding: 25px 27px 30px 27px;
}

#mega-floor-calculator .mfc-summary {
    position: sticky;
    top: 15px;
    min-height: 420px;
    padding: 25px 22px;
    background: #f6f3ef;
    border-left: 1px solid #e5dfd9;
}

#mega-floor-calculator .mfc-section {
    margin-bottom: 25px;
}

#mega-floor-calculator .mfc-label {
    display: block;
    margin-bottom: 10px;
    color: #4f4a46;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

#mega-floor-calculator .mfc-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

#mega-floor-calculator .mfc-option {
    min-height: 70px;
    padding: 12px 13px;
    border: 1px solid #d8d1ca;
    border-radius: 9px;
    background: #ffffff;
    color: #5a534e;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

#mega-floor-calculator .mfc-option:hover {
    border-color: #b58a43;
}

#mega-floor-calculator .mfc-option.is-active {
    border: 2px solid #A9782A;
    background: #fffaf2;
}

#mega-floor-calculator .mfc-option[disabled] {
    cursor: default;
    opacity: .58;
}

#mega-floor-calculator .mfc-option.is-active[disabled] {
    opacity: 1;
}

#mega-floor-calculator .mfc-product-pattern-note {
    margin-top: 8px;
    color: #8A641F;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
}

#mega-floor-calculator .mfc-option strong {
    display: block;
    margin-bottom: 4px;
    color: #4f4a46;
    font-size: 14px;
    line-height: 1.3;
}

#mega-floor-calculator .mfc-option span {
    display: block;
    color: #817873;
    font-size: 12px;
    line-height: 1.35;
}

#mega-floor-calculator .mfc-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#mega-floor-calculator .mfc-field {
    display: block;
}

#mega-floor-calculator .mfc-field small {
    display: block;
    margin-top: 6px;
    color: #827a74;
    font-size: 11px;
    line-height: 1.4;
}

#mega-floor-calculator .mfc-input-wrap {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid #d4cec8;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

#mega-floor-calculator .mfc-input {
    width: 100%;
    height: 46px;
    padding: 8px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4f4a46;
    font-size: 17px;
}

#mega-floor-calculator .mfc-input-wrap > span {
    padding: 0 12px;
    color: #6f6862;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

#mega-floor-calculator .mfc-calculate {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 5px;
    padding: 13px 18px;
    border: 0;
    border-radius: 9px;
    background: #F2A900;
    color: #4f4a46;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

#mega-floor-calculator .mfc-calculate:hover {
    opacity: .92;
}

#mega-floor-calculator .mfc-calc-done {
    display: none;
    margin: 14px 0 0 0;
    padding: 15px 18px;
    border: 2px solid #A87422;
    border-radius: 9px;
    background: #fff8e8;
    color: #4f4a46;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    text-align: center;
}

#mega-floor-calculator .mfc-calc-done.is-visible {
    display: block;
}

#mega-floor-calculator .mfc-calc-done strong {
    color: #8A5D1B;
    font-weight: 900;
}

#mega-floor-calculator .mfc-summary-title {
    margin: 8px 0 13px 0;
    color: #4f4a46 !important;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    text-shadow: none !important;
}

#mega-floor-calculator .mfc-summary-placeholder {
    margin-top: 14px;
    padding: 17px;
    border-radius: 8px;
    background: #ffffff;
    color: #766e68;
    font-size: 14px;
    line-height: 1.55;
}

#mega-floor-calculator .mfc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 15px;
    color: #746c66;
    font-size: 12px;
}

#mega-floor-calculator .mfc-lines {
    border-top: 1px solid #ddd5cd;
}

#mega-floor-calculator .mfc-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2dcd6;
}

#mega-floor-calculator .mfc-line > div {
    min-width: 0;
}

#mega-floor-calculator .mfc-line strong {
    display: block;
    color: #4f4a46;
    font-size: 13px;
    line-height: 1.35;
}

#mega-floor-calculator .mfc-line span {
    display: block;
    margin-top: 3px;
    color: #857d77;
    font-size: 11px;
    line-height: 1.4;
}

#mega-floor-calculator .mfc-line b {
    flex: 0 0 auto;
    color: #4f4a46;
    font-size: 13px;
    white-space: nowrap;
}

#mega-floor-calculator .mfc-muted-line b {
    color: #918982;
    font-size: 11px;
}

#mega-floor-calculator .mfc-note {
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 7px;
    background: #fff7e7;
    color: #745c37;
    font-size: 12px;
    line-height: 1.5;
}

#mega-floor-calculator .mfc-total {
    margin-top: 18px;
    padding: 17px 15px;
    border-radius: 9px;
    background: #4f4a46;
}

#mega-floor-calculator .mfc-total span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

#mega-floor-calculator .mfc-total strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}

#mega-floor-calculator .mfc-warning {
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #e0d6cb;
    border-radius: 7px;
    background: #ffffff;
    color: #776f69;
    font-size: 11px;
    line-height: 1.55;
}

#mega-floor-calculator .mfc-warning strong {
    color: #4f4a46;
}

#mega-floor-calculator .mfc-alert {
    margin-top: 12px;
    padding: 13px;
    border-radius: 7px;
    background: #fff2df;
    color: #7e571b;
    font-size: 13px;
}


/* PRODUKT PRENESENÝ Z DETAILU PRODUKTU */
#mega-floor-calculator .mfc-selected-product {
    margin: 0 0 20px 0;
    padding: 15px 16px;

    border: 1px solid #d9c59d;
    border-radius: 9px;

    background: #fffaf0;

    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

#mega-floor-calculator .mfc-selected-product-kicker {
    display: block;
    margin-bottom: 5px;

    color: #A9782A;
    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .6px;
}

#mega-floor-calculator .mfc-selected-product-name {
    display: block;

    color: #4f4a46;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

#mega-floor-calculator .mfc-selected-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;

    margin-top: 8px;

    color: #766f69;
    font-size: 12px;
    line-height: 1.4;
}

#mega-floor-calculator .mfc-selected-product-link {
    color: #8A641F !important;
    font-weight: 800;
    text-decoration: underline !important;
}


/* AI VÝPOČET PLOCHY Z PÔDORYSU */
#mega-floor-calculator .mfc-ai-floorplan {
    margin: 0 0 18px 0;
    padding: 18px;
    border: 2px solid #A9782A;
    border-radius: 12px;
    background: linear-gradient(135deg, #fffaf0 0%, #fff3d7 100%);
    box-shadow: 0 7px 20px rgba(169,120,42,.12);
}

#mega-floor-calculator .mfc-ai-badge {
    display: inline-block;
    margin-bottom: 7px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #A9782A;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

#mega-floor-calculator .mfc-ai-title {
    margin: 0 0 6px 0;
    color: #4f4a46 !important;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 900;
    text-shadow: none !important;
}

#mega-floor-calculator .mfc-ai-text {
    margin: 0 0 13px 0;
    color: #746b64;
    font-size: 13px;
    line-height: 1.5;
}

#mega-floor-calculator .mfc-ai-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 13px 16px;
    border: 0;
    border-radius: 9px;
    background: #4f4a46;
    color: #ffffff !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .15s ease, transform .15s ease;
}

#mega-floor-calculator .mfc-ai-upload:hover {
    opacity: .93;
    transform: translateY(-1px);
}

#mega-floor-calculator .mfc-ai-upload[disabled] {
    opacity: .55;
    cursor: wait;
    transform: none;
}

#mega-floor-calculator .mfc-ai-formats {
    margin-top: 8px;
    color: #8a817a;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
}

#mega-floor-calculator .mfc-ai-status {
    display: none;
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

#mega-floor-calculator .mfc-ai-status.is-loading,
#mega-floor-calculator .mfc-ai-status.is-info {
    display: block;
    background: #ffffff;
    color: #665e58;
    border: 1px solid #ded5ca;
}

#mega-floor-calculator .mfc-ai-status.is-success {
    display: block;
    background: #eef5ea;
    color: #49613f;
    border: 1px solid #cdddc5;
}

#mega-floor-calculator .mfc-ai-status.is-error {
    display: block;
    background: #fff0ea;
    color: #8a4934;
    border: 1px solid #efd1c5;
}

#mega-floor-calculator .mfc-ai-result {
    display: none;
    margin-top: 12px;
    padding: 13px;
    border-radius: 9px;
    background: rgba(255,255,255,.92);
    border: 1px solid #dfd4c5;
}

#mega-floor-calculator .mfc-ai-result.is-visible {
    display: block;
}

#mega-floor-calculator .mfc-ai-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

#mega-floor-calculator .mfc-ai-result-head strong {
    color: #4f4a46;
    font-size: 14px;
    line-height: 1.35;
}

#mega-floor-calculator .mfc-ai-confidence {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f2ece4;
    color: #756b62;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

#mega-floor-calculator .mfc-ai-rooms {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mega-floor-calculator .mfc-ai-room {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #eee6dc;
}

#mega-floor-calculator .mfc-ai-room:first-child {
    border-top: 0;
}

#mega-floor-calculator .mfc-ai-room label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    color: #5a534e;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
}

#mega-floor-calculator .mfc-ai-room input {
    flex: 0 0 auto;
}

#mega-floor-calculator .mfc-ai-room b {
    flex: 0 0 auto;
    color: #4f4a46;
    font-size: 12px;
    white-space: nowrap;
}

#mega-floor-calculator .mfc-ai-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #d9cfbf;
    color: #4f4a46;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

#mega-floor-calculator .mfc-ai-note {
    margin-top: 8px;
    color: #81776f;
    font-size: 10px;
    line-height: 1.45;
}

#mega-floor-calculator .mfc-ai-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: #8b8179;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

#mega-floor-calculator .mfc-ai-divider:before,
#mega-floor-calculator .mfc-ai-divider:after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #ddd5cd;
}

#mega-floor-calculator .mfc-area-source {
    display: none;
    margin-top: 7px;
    color: #6d7e61;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
}

#mega-floor-calculator .mfc-area-source.is-visible {
    display: block;
}

@media only screen and (max-width: 600px) {
    #mega-floor-calculator .mfc-ai-floorplan {
        padding: 15px;
    }

    #mega-floor-calculator .mfc-ai-title {
        font-size: 17px;
    }

    #mega-floor-calculator .mfc-ai-result-head {
        display: block;
    }

    #mega-floor-calculator .mfc-ai-confidence {
        display: inline-block;
        margin-top: 6px;
    }
}


@media only screen and (max-width: 850px) {

    #mega-floor-calculator .mfc-grid {
        grid-template-columns: 1fr;
    }

    #mega-floor-calculator .mfc-summary {
        position: static;
        min-height: 0;
        border-left: 0;
        border-top: 1px solid #e5dfd9;
    }
}

@media only screen and (max-width: 600px) {

    #mega-floor-calculator {
        margin-bottom: 25px;
    }

    #mega-floor-calculator .mfc-head {
        padding: 22px 16px 18px 16px;
    }

    #mega-floor-calculator .mfc-title {
        font-size: 24px;
    }

    #mega-floor-calculator .mfc-subtitle {
        font-size: 13px;
    }

    #mega-floor-calculator .mfc-form {
        padding: 20px 15px 24px 15px;
    }

    #mega-floor-calculator .mfc-options,
    #mega-floor-calculator .mfc-two {
        grid-template-columns: 1fr;
    }

    #mega-floor-calculator .mfc-option {
        min-height: 64px;
    }

    #mega-floor-calculator .mfc-summary {
        padding: 21px 15px;
    }
}

