* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    overflow-x: hidden
}

body {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    background-color: white;
    font-weight: normal;
    color: var(--text-color)
}

a {
    cursor: pointer !important;
    text-decoration: none;
    color: var(--text-color)
}

a p {
    color: var(--text-color)
}

p,
h4 {
    margin: 0;
    padding: 0
}

footer {
    display: block
}

.input {
    background-color: var(--gray-bg);
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 100%
}

input:focus {
    outline: none
}

.dropdown-toggle::after {
    display: none
}

.fa-chevron-down {
    font-size: 12px;
    color: var(--gray-icon)
}

.fa-chevron-up:before {
    font-size: 12px;
    color: var(--gray-icon)
}

.text-muted {
    color: var(--text-muted-color) !important
}

.text-main {
    color: var(--main-text-color)
}

.fw-bold {
    font-weight: 500 !important
}

.fw-normal {
    font-weight: 400 !important
}

.fw-fade {
    font-weight: 300 !important
}

.hero .text-uvc .btn-orange {
    width: 200px
}

.uvc-section-header .text-uvc .btn-orange {
    padding: 5px 25px !important
}

.btn-orange {
    background-color: var(--orange);
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 0
}

.btn-orange:hover,
.uvc-card-section button:hover {
    background-color: rgb(255, 166, 0);
    color: #fff
}

.form-control {
    border: none;
    background-color: var(--gray-bg);
    border-radius: 4px;
    padding: 10px 10px
}

label {
    font-size: 16px;
    font-weight: 400;
    color: var(--main-text-color)
}

.text-orange {
    color: var(--orange)
}

.text-blue {
    color: #3860ff
}

.input-range {
    background-color: var(--gray-bg);
    border: 0 !important;
    margin-left: .5rem;
    padding: 3px;
    text-align: center
}

.input-range::-webkit-outer-spin-button,
.input-range::-webkit-inner-spin-button {
    -webkit-appearance: auto;
    opacity: 1
}

.input-range {
    -moz-appearance: textfield
}

.custom-select-wrapper {
    position: relative;
    display: inline-block
}

.select-button {
    background-color: white;
    border: 1px solid var(--neutral-300);
    color: var(--gray-700);
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
    padding: .75rem;
    cursor: pointer
}

.icon-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 7px
}

.select-button.open {
    border-color: #4f46e5
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin-top: .375rem;
    background: white;
    border: 1px solid #d1d5db;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out, opacity .3s ease-out;
    opacity: 0;
    pointer-events: none
}

.select-dropdown.open {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto
}

.select-option {
    color: #4b5563;
    padding: .75rem;
    text-align: left;
    cursor: pointer
}

.select-option:not(:last-child) {
    border-bottom: 1px solid #d1d5db
}

.select-option:hover {
    color: var(--orange)
}

.select-option.selected {
    background-color: var(--gray-bg)
}

.custom-option {
    align-items: center;
    display: flex;
    gap: .5rem
}

.no-support {
    align-content: center;
    background-color: #000d;
    color: var(--white);
    display: grid;
    gap: 1em;
    inset: 0;
    place-items: center;
    position: fixed;
    z-index: 10;
    text-align: center;
    padding: 1rem;

    @supports (appearance:base-select) {
        display: none
    }
}

.fade-in:not(.text-hero):not(.text-uvc) {
    opacity: 0;
    transform: translateY(25px)
}

.fade-in.animate-in:not(.text-hero):not(.text-uvc) {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out
}

.text-hero.fade-in,
.text-uvc.fade-in {
    opacity: 0
}

.text-hero.fade-in.animate-in,
.text-uvc.fade-in.animate-in {
    opacity: 1;
    transition: opacity 1.2s ease-out
}

.product-card {
    transition: transform .2s ease, box-shadow .2s ease
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15)
}

.btn:active {
    background-color: #97470C !important;
    color: white !important
}

.bg-orange {
    background-color: var(--orange)
}

.modal-backdrop {
    z-index: 50
}

.input-search {
    max-width: 100%
}

.heroSwiper {
    position: relative
}

.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
    color: #ffffff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.heroSwiper .swiper-button-prev {
    left: 10px !important
}

.heroSwiper .swiper-button-next {
    right: 10px !important
}

.heroSwiper .swiper-pagination {
    bottom: 15px !important
}

.heroSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: .6
}

.heroSwiper .swiper-pagination-bullet-active {
    background: #ff7b03;
    opacity: 1
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: .4
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2)
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    display: none
}

.article-content img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto
}

.services-section img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block
}

.custom-select-wrapper .select-dropdown {
    display: none
}

.custom-select-wrapper.open .select-dropdown {
    display: block
}

.select2-container .select2-selection--single {
    height: 48px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    top: 1px !important;
    right: 10px !important
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 15px;
    color: #555;
    font-size: 15px
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #ff6600 !important;
    color: white !important
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd !important;
    border-radius: 4px !important
}

.htmx-indicator {
    display: none
}

.htmx-request .htmx-indicator {
    display: block
}

.htmx-request.htmx-indicator {
    display: block
}

.nav-fixed {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1030
}

@keyframes slideDown {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: translateY(0)
    }
}

.swiper-button-lock,
.swiper-button-disabled {
    display: flex !important;
    cursor: default !important;
    pointer-events: none
}

.footer-logo-grid {
    width: 100%;
    height: 160px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-grid .swiper-slide {
    height: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 5px;
}

.footer-logo-grid .swiper-slide img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}


.contact-lead-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
}

.btn-article-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 15px;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 170px;
    border: none;
    cursor: pointer;
}

.btn-article-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.btn-call {
    background: linear-gradient(to right, #59c1a4 0%, #3187b2 100%);
}

.btn-line {
    background-color: #00b900;
}

.btn-form {
    background-color: #111111;
}

.btn-article-contact i {
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .article-contact-buttons {
        flex-direction: column;
    }

    .btn-article-contact {
        width: 100%;
        min-width: unset;
    }

    .contact-lead-text {
        text-align: center;
    }
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.social-icon-fa {
    font-size: 28px;
    margin-right: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
}