/* Start custom CSS for shortcode, class: .elementor-element-88d6048 */:root {
    --wood-dark: #3F190F;
    --wood-dark-2: #512316;
    --wood-brown: #6B361E;
    --wood-mid: #7E4327;
    --wood-light: #965A34;

    --gold-dark: #B66F18;
    --gold: #D08528;
    --gold-bright: #F0A900;
    --gold-light: #E6C27A;

    --cream: #F5EFE7;
    --cream-light: #FBF8F4;
    --cream-hover: #FFF4E2;
    --cream-selected: #FFF0D5;

    --border: #DDCEBD;
    --border-light: #EDE3D8;

    --text-dark: #3F281D;
    --text: #584235;
    --text-light: #806F61;

    --white: #FFFFFF;

    --error: #A63D27;
    --success: #47733B;

    --shadow:
        0 8px 25px rgba(63, 25, 15, 0.12);

    --shadow-hover:
        0 10px 30px rgba(63, 25, 15, 0.18);
}


/* =========================================================
   GRAVITY FORMS #27
   ========================================================= */

#gform_wrapper_27,
#gform_wrapper_27 * {
    box-sizing: border-box;
}

#gform_wrapper_27 {
    width: min(1100px, calc(100% - 40px));
    margin: 40px auto;
    font-family:
        "Noto Sans Thai",
        "Noto Sans",
        Arial,
        sans-serif;
    color: var(--text);
    line-height: 1.5;
}

#gform_27 {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#gform_27 .gform_body {
    width: 100%;
    padding: 20px 35px 10px;
}

#gform_27 .gform_fields {
    width: 100%;
    margin: 0;
    padding: 0;
}

#gform_27 .gfield {
    margin-bottom: 22px;
    padding: 0;
}

#gform_27 .gfield:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LABELS
   ========================================================= */

#gform_27 .gfield_label,
#gform_27 .gform-field-label {
    display: block;
    margin: 0 0 8px;
    color: var(--wood-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

#gform_27 .gfield_description {
    margin: 5px 0 8px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   SECTION TITLES
   ========================================================= */

#gform_27 .gsection {
    margin: 25px 0 20px;
    padding: 0;
    border: 0;
}

#gform_27 .gsection_title {
    margin: 0;
    padding: 12px 15px;
    background: var(--wood-dark);
    border-left: 5px solid var(--gold);
    border-radius: 6px;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   TEXT INPUTS / SELECT / TEXTAREA
   ========================================================= */

#gform_27 input[type="text"],
#gform_27 input[type="email"],
#gform_27 input[type="tel"],
#gform_27 input[type="number"],
#gform_27 input[type="url"],
#gform_27 input[type="date"],
#gform_27 select,
#gform_27 textarea {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 13px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#gform_27 textarea {
    min-height: 120px;
    resize: vertical;
}

#gform_27 input[type="text"]:hover,
#gform_27 input[type="email"]:hover,
#gform_27 input[type="tel"]:hover,
#gform_27 input[type="number"]:hover,
#gform_27 input[type="url"]:hover,
#gform_27 input[type="date"]:hover,
#gform_27 select:hover,
#gform_27 textarea:hover {
    border-color: var(--wood-light);
}

#gform_27 input[type="text"]:focus,
#gform_27 input[type="email"]:focus,
#gform_27 input[type="tel"]:focus,
#gform_27 input[type="number"]:focus,
#gform_27 input[type="url"]:focus,
#gform_27 input[type="date"]:focus,
#gform_27 select:focus,
#gform_27 textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(208, 133, 40, 0.14);
}


/* =========================================================
   CHECKBOX / RADIO - GENERAL
   ========================================================= */

#gform_27 .gfield_checkbox,
#gform_27 .gfield_radio {
    margin: 0;
    padding: 0;
}

#gform_27 .gchoice {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    margin: 5px 0;
    padding: 8px 12px;
    background: var(--cream-light);
    border: 1px solid var(--border-light);
    border-radius: 7px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

#gform_27 .gchoice:hover {
    background: var(--cream-hover);
    border-color: var(--gold-light);
}

#gform_27 .gchoice input[type="checkbox"],
#gform_27 .gchoice input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0 9px 0 0;
    accent-color: var(--gold);
}

#gform_27 .gchoice label {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}


/* =========================================================
   LIKERT - DESKTOP
   Applies to Field 17 / 27 / 28 / 29
   ========================================================= */

#gform_27 .ginput_container_likert {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

#gform_27 table.gsurvey-likert {
    width: 100%;
    min-width: 780px;
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

#gform_27 table.gsurvey-likert th,
#gform_27 table.gsurvey-likert td {
    box-sizing: border-box;
}

#gform_27 table.gsurvey-likert thead th {
    padding: 10px 5px;
    background: var(--wood-dark);
    border-right: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    vertical-align: middle;
}

#gform_27 table.gsurvey-likert thead th:last-child {
    border-right: 0;
}

#gform_27 table.gsurvey-likert th.gsurvey-likert-row-label {
    width: 280px;
    text-align: left;
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-row-label {
    width: 280px;
    padding: 11px 12px;
    background: var(--cream);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: middle;
}

#gform_27 table.gsurvey-likert tbody tr:last-child td {
    border-bottom: 0;
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-choice {
    position: relative;
    width: auto;
    min-width: 42px;
    height: 52px;
    padding: 8px 4px;
    background: var(--white);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-choice:last-child {
    border-right: 0;
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-choice:hover {
    background: var(--cream-hover);
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
    appearance: auto !important;
    -webkit-appearance: radio !important;
    display: block !important;
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    accent-color: var(--gold) !important;
    cursor: pointer !important;
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected,
#gform_27 table.gsurvey-likert td.gsurvey-likert-choice:has(input[type="radio"]:checked) {
    background: var(--cream-selected);
    box-shadow: inset 0 -3px 0 var(--gold);
}

#gform_27 table.gsurvey-likert td.gsurvey-likert-choice:has(input[type="radio"]:checked) input[type="radio"] {
    accent-color: var(--gold-dark);
}


/* =========================================================
   SLIDER
   ========================================================= */

#gform_27 .gps-slider {
    position: relative;
    width: 100%;
    padding: 10px 0 35px;
}

#gform_27 .gps-slider__track {
    position: relative;
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 999px;
}

#gform_27 .gps-slider__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gold);
    border-radius: 999px;
}

#gform_27 .gps-slider__handle {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    margin: 0;
    background: var(--white);
    border: 3px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(63, 25, 15, 0.2);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#gform_27 .gps-slider__tooltip {
    position: absolute;
    top: -35px;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: var(--wood-dark);
    border-radius: 5px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

#gform_27 .gps-slider__value {
    margin-top: 10px;
    color: var(--wood-dark);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

#gform_27 input.gps-slider__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

#gform_27 .gform_footer,
#gform_27 .gform_page_footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 20px 35px 30px;
    background: var(--cream-light);
    border-top: 1px solid var(--border-light);
}

#gform_27 .gform_button,
#gform_27 input[type="submit"] {
    min-width: 150px;
    min-height: 48px;
    margin: 0;
    padding: 10px 24px;
    background: var(--gold);
    border: 0;
    border-radius: 7px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#gform_27 .gform_button:hover,
#gform_27 input[type="submit"]:hover {
    background: var(--gold-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

#gform_27 .gform_button:active,
#gform_27 input[type="submit"]:active {
    transform: translateY(0);
}


/* =========================================================
   VALIDATION
   ========================================================= */

#gform_27 .gfield_error input[type="text"],
#gform_27 .gfield_error input[type="email"],
#gform_27 .gfield_error input[type="tel"],
#gform_27 .gfield_error input[type="number"],
#gform_27 .gfield_error input[type="url"],
#gform_27 .gfield_error input[type="date"],
#gform_27 .gfield_error select,
#gform_27 .gfield_error textarea {
    border-color: var(--error);
}

#gform_27 .gfield_error .validation_message,
#gform_27 .validation_message {
    margin-top: 5px;
    color: var(--error);
    font-size: 12px;
    font-weight: 600;
}

#gform_27 .gfield_required {
    color: var(--error);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 1023px) {

    #gform_wrapper_27 {
        width: min(94%, 1000px);
        margin: 30px auto;
    }

    #gform_27 .gform_body {
        padding: 18px 25px 10px;
    }

    #gform_27 .gform_footer,
    #gform_27 .gform_page_footer {
        padding: 18px 25px 25px;
    }

    #gform_27 table.gsurvey-likert {
        min-width: 720px;
    }

    #gform_27 table.gsurvey-likert th.gsurvey-likert-row-label,
    #gform_27 table.gsurvey-likert td.gsurvey-likert-row-label {
        width: 240px;
    }
}


/* =========================================================
   MOBILE - <=768px
   ========================================================= */

@media (max-width: 768px) {

    #gform_wrapper_27 {
        width: calc(100% - 20px);
        margin: 15px auto;
    }

    #gform_27 {
        border-radius: 12px;
    }

    #gform_27 .gform_body {
        padding: 15px 15px 5px;
    }

    #gform_27 .gfield {
        margin-bottom: 18px;
    }

    #gform_27 .gfield_label,
    #gform_27 .gform-field-label {
        font-size: 14px;
    }

    #gform_27 .gsection {
        margin: 20px 0 15px;
    }

    #gform_27 .gsection_title {
        padding: 10px 12px;
        font-size: 15px;
    }

    #gform_27 .gform_footer,
    #gform_27 .gform_page_footer {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 15px 20px;
    }

    #gform_27 .gform_button,
    #gform_27 input[type="submit"] {
        width: 100%;
    }


    /* ---------------------------------------------------------
       LIKERT MOBILE
       All Likert fields: 17 / 27 / 28 / 29
       --------------------------------------------------------- */

    #gform_27 .ginput_container_likert {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    #gform_27 table.gsurvey-likert {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        border-radius: 7px !important;
        overflow: visible !important;
    }

    #gform_27 table.gsurvey-likert thead {
        display: none !important;
    }

    #gform_27 table.gsurvey-likert tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #gform_27 table.gsurvey-likert tbody tr {
        display: grid !important;
        grid-template-columns: repeat(11, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-row-label {
        grid-column: 1 / -1 !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 9px 10px !important;
        background: var(--wood-dark) !important;
        border: 0 !important;
        color: var(--white) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        text-align: left !important;
        vertical-align: middle !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 15px 0 0 !important;
        background: var(--white) !important;
        border-top: 0 !important;
        border-right: 1px solid var(--border-light) !important;
        border-bottom: 1px solid var(--border) !important;
        border-left: 0 !important;
        border-radius: 0 !important;
        text-align: center !important;
        vertical-align: middle !important;
        overflow: visible !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice:last-child {
        border-right: 0 !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice:hover {
        background: var(--cream-hover) !important;
    }

    /* NUMBER 0-10
       Increased from 10px to 14px */

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice::before {
        content: attr(data-label) !important;
        position: absolute !important;
        top: 4px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--text) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center !important;
        pointer-events: none !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice::after {
        content: none !important;
        display: none !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
        appearance: auto !important;
        -webkit-appearance: radio !important;
        display: block !important;
        position: static !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        clip: auto !important;
        clip-path: none !important;
        accent-color: var(--gold) !important;
        cursor: pointer !important;
        flex: 0 0 18px !important;
        box-sizing: border-box !important;
        touch-action: manipulation !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected,
    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice:has(input[type="radio"]:checked) {
        background: var(--cream-selected) !important;
        box-shadow: inset 0 -3px 0 var(--gold) !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice:has(input[type="radio"]:checked)::before {
        color: var(--gold-dark) !important;
        font-weight: 800 !important;
    }
}


/* =========================================================
   SMALL MOBILE - <=480px
   ========================================================= */

@media (max-width: 480px) {

    #gform_wrapper_27 {
        width: calc(100% - 12px);
        margin: 10px auto;
    }

    #gform_27 {
        border-radius: 10px;
    }

    #gform_27 .gform_body {
        padding: 12px 10px 4px;
    }

    #gform_27 .gfield {
        margin-bottom: 16px;
    }

    #gform_27 .gfield_label,
    #gform_27 .gform-field-label {
        font-size: 13px;
    }

    #gform_27 .gsection_title {
        font-size: 14px;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-row-label {
        padding: 8px 8px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice {
        height: 55px !important;
        min-height: 55px !important;
        padding: 14px 0 0 !important;
    }

    /* NUMBER 0-10
       Increased from 9px to 13px */

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice::before {
        top: 4px !important;
        font-size: 13px !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        max-width: 17px !important;
        min-height: 17px !important;
        max-height: 17px !important;
        flex-basis: 17px !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE - <=360px
   ========================================================= */

@media (max-width: 360px) {

    #gform_wrapper_27 {
        width: calc(100% - 8px);
        margin: 8px auto;
    }

    #gform_27 .gform_body {
        padding: 10px 7px 3px;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-row-label {
        padding: 7px !important;
        font-size: 10px !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice {
        height: 52px !important;
        min-height: 52px !important;
        padding-top: 13px !important;
    }

    /* NUMBER 0-10
       Increased from 8px to 12px */

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice::before {
        top: 3px !important;
        font-size: 12px !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
        flex-basis: 16px !important;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice {
        cursor: pointer !important;
    }

    #gform_27 table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
        cursor: pointer !important;
    }

    #gform_27 .gchoice {
        min-height: 44px;
    }
}


/* =========================================================
   KEYBOARD ACCESSIBILITY
   ========================================================= */

#gform_27 input:focus-visible,
#gform_27 select:focus-visible,
#gform_27 textarea:focus-visible,
#gform_27 button:focus-visible,
#gform_27 input[type="radio"]:focus-visible,
#gform_27 input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(208, 133, 40, 0.35);
    outline-offset: 2px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #gform_27 *,
    #gform_27 *::before,
    #gform_27 *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}/* End custom CSS */