/*=====================================
YOU CAN WRIGHT CUSTOME CSS
======================================*/
.split-text-img {
    display: flex;
}

.split-text-img .first {
    width: calc(100% - 50px);
}

.split-text-img img {
    height: 50px;
}

.social-icons li img {
    width: 36px;
}

.maps {
    background: #eeeeee;
}

.f-social-link.social-icons li a:after {
    background-color: #eeeeee;
}

.maps iframe {
    width: 100%;
    height: 600px;
}

.line-filter-outer {
    min-height: 350px;
}

.hover-effect-content:after {
    bottom: -20px;
}

.hover-effect-content {
    padding: 20px;
}

.float-tooltip::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.float-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.float-tooltip {
    position: absolute;
    bottom: 90px;
    right: 0;
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    color: #8B4513;
    font-weight: 400;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .25s ease, transform .25s ease;
    white-space: nowrap;
}

.float-button {
    border: 0px;
    width: 70px;
    height: 70px;
    background: #29a71a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 8px 0px #00000029;
    position: fixed;
    z-index: 10000;
    cursor: pointer;
    bottom: 20px;
    right: 20px;
}

.float-button svg {
    width: 40px;
    height: 40px;
}

.float-wrapper:hover .float-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.ckeditor {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    word-wrap: break-word;
}

/* Mengatur spacing antar elemen */
.ckeditor h2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #111111;
    margin-top: 24px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 6px;
}

.ckeditor h3 {
    font-size: 1.4em;
    font-weight: bold;
    color: #222222;
    margin-top: 20px;
    margin-bottom: 10px;
}

.ckeditor p {
    margin-top: 0;
    margin-bottom: 12px;
}

/* Perbaikan untuk List/Daftar agar bullet & penomoran muncul */
.ckeditor ul,
.ckeditor ol {
    margin-top: 0;
    margin-bottom: 16px;
    padding-left: 24px;
}

.ckeditor ul {
    list-style-type: disc;
}

.ckeditor ol {
    list-style-type: decimal;
}

.ckeditor li {
    margin-bottom: 4px;
}

/* Styling Tabel Standar CKEditor agar Responsive dan Tidak Rusak */
.ckeditor table {
    border-collapse: collapse;
    width: 100% !important;
    /* Memaksa lebar penuh agar tidak overflow */
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 0.95em;
    overflow-x: auto;
    display: block;
    /* Membuat tabel bisa di-scroll secara horizontal di perangkat mobile */
}

@media (min-width: 768px) {
    .ckeditor table {
        display: table;
        /* Kembalikan ke format tabel biasa pada layar pc/tablet */
    }
}

.ckeditor table th,
.ckeditor table td {
    border: 1px solid #bfbfbf;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.ckeditor table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #111111;
}

/* Efek striping pada baris tabel (opsional tapi bagus untuk keterbacaan) */
.ckeditor table tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

/* Styling tambahan untuk teks tebal dan miring */
.ckeditor strong {
    font-weight: 700;
}

.ckeditor em {
    font-style: italic;
}


.latest-product .wt-post-date {
    background-color: #101110;
    width: 60px;
    height: 50px;
    padding: 2px;
    float: left;
}

.latest-product img {
    object-fit: cover;
    height: 46px;
    width: 60px !important;
    object-position: right;
}

.br-10 {
    border-radius: 10px;
}

.main-image {
    transition: transform .25s ease;
}

.main-image.zoom {
    transform: scale(1.08);
}

.product-file {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
}

a.product-file {
    padding: 7px;
}

.product-gallery .owl-nav button {
    font-size: 30px !important;
}

.product-gallery .owl-stage {
    display: flex;
}

.product-gallery .item {
    padding: 5px;
}

.image-wrapper-material {
    width: 100%;
    aspect-ratio: 4 / 5; /* 1080 : 1350 */
    overflow: hidden;
}


.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* sesuaikan */
    cursor: pointer;
}

.image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .3s ease;
}

.image-wrapper:hover::after {
    background: rgba(0, 0, 0, .25);
}

.image-wrapper img {
    display: block;
    width: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.main-image.animate {
    animation: imageChange 3s ease;
}

@keyframes imageChange {
    0% {
        transform: scale(.95);
        opacity: .9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.main-image.animate {
    animation: imageZoom 3s ease;
}

@keyframes imageZoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.image-wrapper:hover .main-image {
    transform: scale(1.5);
}
