.content-image-gallery-type4-section {
    padding: 40px 0 0 0;
    width: 100%;
    background-color: #e51d27;
    color: #ffffff;
}
.content-image-gallery-type4-section .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.content-image-gallery-type4-section-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}
.content-image-gallery-type4-section-text {
    flex: 1.1;
}
.content-image-gallery-type4-section-text h2 {
    color: #ffffff !important;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    margin-bottom: 20px;
}
.content-image-gallery-type4-section-text h2 span {
    color: #e51d27;
}
.content-image-gallery-type4-section-text p {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: justify !important;
}
.content-image-gallery-type4-section-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}
.content-image-gallery-type4-section-text ul li {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify !important;
}
.content-image-gallery-type4-section-text ol {
    padding-left: 20px;
    margin: 0;
}
.content-image-gallery-type4-section-text ol li {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify !important;
}
.content-image-gallery-type4-section-image {
    flex: 0.9;
    width: 100%;
}
.content-image-gallery-type4-section-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: block;
    margin-top: 0px;
}
.content-image-gallery-type4-section-image .gallery-main-img.is-swapping {
    opacity: 0;
}
.content-image-gallery-type4-section-image .gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.content-image-gallery-type4-section-image .gallery-main {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f4f4f4;
}

.content-image-gallery-type4-section-image .gallery-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

/* Container Thumbnails */
.content-image-gallery-type4-section-image .gallery-thumbs {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* Tombol Thumbnail */
.content-image-gallery-type4-section-image .gallery-thumb {
    flex: 1;
    min-width: 0;
    height: 60px;
    padding: 0 !important;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;

    /* Paksa button menjadi Flexbox agar isinya mengisi penuh tanpa cela */
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}

/* Gambar di dalam Thumbnail */
.content-image-gallery-type4-section-image .gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.content-image-gallery-type4-section-image .gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.content-image-gallery-type4-section-image .gallery-thumb:focus-visible {
    outline: 2px solid #e51d27;
    outline-offset: 3px;
    opacity: 1;
}
.content-image-gallery-type4-section-image .gallery-thumb:focus-visible {
    outline: 2px solid #e51d27;
    outline-offset: 2px;
}
.content-image-gallery-type4-section-image .gallery-thumb.active {
    opacity: 1;
    border-color: #e51d27;
    border-radius: 6px;
}
.content-image-gallery-type4-section .product-column {
    margin: 40px 0 40px;
    width: 100%;
}

.content-image-gallery-type4-section .product-column h2 {
    text-align: center;
    color: #ffffff !important;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    margin-bottom: 20px;
}

.content-image-gallery-type4-section .product-column .product-grid-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px auto 0;
    max-width: 680px;
}

.content-image-gallery-type4-section .product-column .product-grid-gallery img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

@media (max-width: 1024px) { 
    .content-image-gallery-type4-section {
        padding: 30px 0 0 0;
    }
    .content-image-gallery-type4-section-text h2 {
        margin-bottom: 20px;
        font-size: 1.8rem;
    }
    .content-image-gallery-type4-section-text p {
        font-size: 0.9rem;
        font-weight: 400;
    }
    .content-image-gallery-type4-section-text ul li {
        font-size: 0.9rem;
    }
    .content-image-gallery-type4-section-text ol li {
        font-size: 0.9rem;
    }
    .content-image-gallery-type4-section-image img {
        margin-top: 30px;
    }
    .content-image-gallery-type4-section .product-column {
        margin: 30px 0 30px;
    }
    .content-image-gallery-type4-section .product-column h2 {
        margin-bottom: 20px;
        font-size: 1.8rem;
    }
    .content-image-gallery-type4-section-image img {
        margin-top: 30px;
    }
    .content-image-gallery-type4-section-image .gallery-main-img {
        margin-top: 0;
    }
} 
@media (max-width: 768px) { 
    .content-image-gallery-type4-section-text h2 {
        font-size: 1.6rem;
    }
    .content-image-gallery-type4-section .container {
        gap: 25px;
    }
    .content-image-gallery-type4-section-grid {
        flex-direction: column;
        gap: 30px;
    }
    .content-image-gallery-type4-section-text,
    .content-image-gallery-type4-section-image {
        width: 100%;
        flex: none;
    }
    .content-image-gallery-type4-section-image img {
        max-height: 350px;
        object-fit: cover;
        margin-top: 0px;
    }
    .content-image-gallery-type4-section-image .gallery-main-img {
        max-height: 350px;
        height: auto;
        object-fit: cover;
        margin-top: 0;
    }
    .content-image-gallery-type4-section .product-column h2 {
        font-size: 1.6rem;
    }
} 
@media (max-width: 599px) { 
    .content-image-gallery-type4-section-text h2 {
        font-size: 1.4rem;
    }
    .content-image-gallery-type4-section-text p {
        font-size: 0.85rem;
    }
    .content-image-gallery-type4-section-text ul li {
        font-size: 0.85rem;
    }
    .content-image-gallery-type4-section-text ol li {
        font-size: 0.85rem;
    }
    .content-image-gallery-type4-section .product-column h2 {
        font-size: 1.4rem;
    }
    .content-image-gallery-type4-section .product-column .product-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
} 
@media (max-width: 480px) { 
    .content-image-gallery-type4-section {
        padding: 20px 0 0 0;
    }
    .content-image-gallery-type4-section-text h2 {
        font-size: 1.2rem;
    }
    .content-image-gallery-type4-section-text p {
        font-size: 0.8rem;
    }
    .content-image-gallery-type4-section-text ul li {
        font-size: 0.8rem;
    }
    .content-image-gallery-type4-section-text ol li {
        font-size: 0.8rem;
    }
    .content-image-gallery-type4-section .product-column {
        margin: 20px 0 20px;
    }
    .content-image-gallery-type4-section .product-column h2 {
        font-size: 1.2rem;
    }
}
@media (max-width: 420px) { 
    .content-image-gallery-type4-section-text h2 {
        font-size: 1.2rem;
    }
    .content-image-gallery-type4-section-text p {
        font-size: 0.75rem;
    }
    .content-image-gallery-type4-section-text ul li {
        font-size: 0.75rem;
    }
    .content-image-gallery-type4-section-text ol li {
        font-size: 0.75rem;
    }
    .content-image-gallery-type4-section .product-column h2 {
        font-size: 1.2rem;
    }
}
@media (max-width: 419px) { 
    .content-image-gallery-type4-section-text h2 {
        font-size: 1.2rem;
    }
    .content-image-gallery-type4-section-text p {
        font-size: 0.75rem;
    }
    .content-image-gallery-type4-section-text ul li {
        font-size: 0.75rem;
    }
    .content-image-gallery-type4-section-text ol li {
        font-size: 0.75rem;
    }
    .content-image-gallery-type4-section .product-column h2 {
        font-size: 1.2rem;
    }
}
@media (max-width: 350px) { 
    .content-image-gallery-type4-section-text h2 {
        font-size: 1rem;
    }
    .content-image-gallery-type4-section-text p {
        font-size: 0.7rem;
    }
    .content-image-gallery-type4-section-text ul li {
        font-size: 0.7rem;
    }
    .content-image-gallery-type4-section-text ol li {
        font-size: 0.7rem;
    }
    .content-image-gallery-type4-section .product-column h2 {
        font-size: 1rem;
    }
}