/*
 * Penyesuaian di atas tema Greenova.
 * Sebagian diambil dari "Additional CSS" (wp-custom-css) dan inline style tema di situs WordPress lama.
 */

/* Inline style tema: banner judul halaman dan jarak konten */
.entry-banner {
    background: url(../img/banner.jpg) no-repeat scroll center center / cover;
}

.content-area {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Additional CSS dari WordPress */
.elementor-4955 .elementor-element.elementor-element-37823ca .rt-slider-wrapper .elementor-swiper-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tnp-subscription input.tnp-submit {
    background-color: #4a80cb;
}

.footer-bottom-area {
    color: #ffffff;
}

.mob-info .light-button {
    display: none;
}

.rt-slide-nav {
    padding: 30px 30px 45px;
}

/* Gambar About memakai file asli (bukan potongan -WxH dari WordPress), jadi dipotong lewat CSS */
.rt-dual-image-wrapper .rtin-back-image > img {
    width: 290px;
    height: 270px;
    object-fit: cover;
}

.rt-dual-image-wrapper .rtin-overlay-image > img {
    width: 500px;
    max-width: 100%;
    height: 308px;
    object-fit: cover;
}

/*
 * Bidang usaha & produk unggulan di Home dirender lewat @foreach, jadi tidak lagi punya id elemen
 * Elementor masing-masing. Style per elemen dari post-4955.css dipindah ke sini.
 */
@media (min-width: 768px) {
    .elementor-4955 .twk-business-area {
        width: 25%;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-4955 .twk-business-area {
        width: 50%;
    }
}

.elementor-4955 .twk-business-area .rt-info-box .info-title {
    color: #FFFFFF;
    font-family: "Poppins", Sans-serif;
    font-size: 25px;
    font-weight: 500;
}

.elementor-4955 .twk-business-area .rt-info-box .info-title a,
.elementor-4955 .twk-business-area .rt-info-box .info-title a:hover {
    color: #FFFFFF;
}

.elementor-4955 .twk-business-area:nth-child(1) .rt-info-text-8 .service-box {
    background-color: #4A80CBE5;
}

.elementor-4955 .twk-business-area:nth-child(2) .rt-info-text-8 .service-box {
    background-color: #3C97BAE5;
}

.elementor-4955 .twk-business-area:nth-child(3) .rt-info-text-8 .service-box {
    background-color: #2FAFA8E5;
}

.elementor-4955 .twk-business-area:nth-child(4) .rt-info-text-8 .service-box {
    background-color: #21C697E5;
}

.elementor-4955 .twk-product .elementor-widget-spacer {
    --spacer-size: 20px;
}

.elementor-4955 .twk-product .elementor-heading-title {
    color: #000000;
    font-family: "Poppins", Sans-serif;
    font-size: 20px;
    font-weight: 400;
}

/* Tinggi select di form kontak disamakan dengan input lainnya */
.contact-form select.form-control {
    height: 45px;
}

/* Kotak "Find Your Solution" di Home, dari Additional CSS WordPress (#is-search-input-7804) */
#custom-search-solution .solution-search-form {
    text-align: center;
}

#custom-search-solution .solution-search-input {
    width: 872px;
    max-width: 100%;
    height: 56px;
    padding: 0 30px;
    border: 1px solid #dddddd;
    border-radius: 100px;
    outline: none;
}

/* Pilihan bahasa di sub menu, dari Additional CSS WordPress (.menu-item-8003) */
#site-navigation .trp-language-switcher-container .sub-menu .trp-ls-language-name {
    margin-top: 20px;
}

/*
 * Tombol WhatsApp & telepon mengambang (pengganti plugin myStickyElements di WordPress).
 * Ukuran, warna, dan posisi (top 80%) mengikuti tampilan di WordPress.
 */
.floating-contact {
    position: fixed;
    top: 80%;
    right: 0;
    z-index: 99999;
    transform: translateY(-50%);
    font-family: "Poppins", sans-serif;
}

.floating-contact-toggle {
    display: block;
    width: 53px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 10px 0 0;
    background: #000000;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    color: #ffffff;
    font-size: 15px;
    line-height: 32px;
    cursor: pointer;
}

.floating-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.5s, opacity 0.5s;
}

.floating-contact.is-minimized .floating-contact-list {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.floating-contact-item {
    position: relative;
    width: 53px;
    height: 53px;
}

.floating-contact-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    color: #ffffff;
    font-size: 17px;
}

.floating-contact-item > a:hover,
.floating-contact-item > a:focus {
    color: #ffffff;
}

.floating-contact-text {
    position: absolute;
    top: 0;
    right: 53px;
    width: 137px;
    height: 53px;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    line-height: 53px;
    text-align: center;
    transform: rotateY(90deg);
    transform-origin: right center;
    transition: transform 0.5s;
}

.floating-contact-item:hover .floating-contact-text {
    transform: rotateY(0deg);
}

.floating-contact-whatsapp > a,
.floating-contact-whatsapp .floating-contact-text {
    background: #26D367;
}

.floating-contact-phone > a,
.floating-contact-phone .floating-contact-text {
    background: #26D37C;
}

/* Jebakan bot di form kontak : disembunyikan dari pengunjung */
.twk-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Pesan validasi & hasil kirim form kontak, mengikuti gaya Contact Form 7 */
.wpcf7-not-valid-tip {
    display: block;
    color: #dc3232;
    font-size: 13px;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin: 0;
    padding: 10px 14px;
    border: 2px solid #ffb900;
    font-size: 14px;
    line-height: 1.6;
}

.wpcf7-response-output.is-success {
    border-color: #1fa12e;
}

.wpcf7-response-output.is-error {
    border-color: #dc3232;
}

.newsletter-response {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-response.is-success {
    color: #7ee08a;
}

.newsletter-response.is-error {
    color: #ff8a8a;
}

/* Tombol "Tanya produk ini" yang membuka WhatsApp dengan nama produk sudah terisi */
.twk-product-ask {
    margin-top: 15px;
    text-align: center;
}

/* Diawali body a. supaya warna link bawaan tema/Elementor tidak menimpa warna putihnya */
body a.twk-ask-button {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #26d367;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: background 0.3s;
}

body a.twk-ask-button:hover,
body a.twk-ask-button:focus {
    background: #1fa12e;
    color: #fff;
    text-decoration: none;
}

/* Halaman produk: gambar produk ukurannya beda-beda, jadi kotak gambarnya disamakan */
.twk-product-category + .twk-product-category {
    margin-top: 20px;
}

.twk-product-category-title {
    font-size: 26px;
    margin-bottom: 25px;
}

.twk-product-category-title a {
    color: #111111;
}

.woocommerce ul.products li.product .product-thumb-area img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 15px;
    background: #fff;
}

.woocommerce ul.products li.product .short-description p {
    margin-bottom: 15px;
}
