.ellipsis_1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* whatsapp */
.containers {
    bottom: 24px;
    position: fixed;
    margin: 1em;
    left: 33px;
    z-index: 9999;
}

.buttons {
    background: #25d366;
    box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18),
        0px 4px 12px -7px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: block;
    width: 56px;
    height: 56px;
    margin: 20px auto 0;
    position: relative;
    -webkit-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.buttons:active,
.buttons:focus,
.buttons:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

.buttons:not(:last-child) {
    width: 40px;
    height: 40px;
    margin: 20px auto 0;
    opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
}

.containers:hover .buttons:not(:last-child) {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    margin: 15px auto 0;
}

.buttons:nth-last-child(1) {
    -webkit-transition-delay: 25ms;
    transition-delay: 25ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(2) {
    -webkit-transition-delay: 50ms;
    transition-delay: 20ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(3) {
    -webkit-transition-delay: 75ms;
    transition-delay: 40ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(4) {
    -webkit-transition-delay: 100ms;
    transition-delay: 60ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

[tooltip]:before {
    bottom: 25%;
    font-family: arial;
    font-weight: 600;
    border-radius: 2px;
    background: #585858;
    color: #fff;
    content: attr(tooltip);
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    padding: 5px 7px;
    margin-left: 12px;
    position: absolute;
    left: 100%;
    white-space: nowrap;
}

[tooltip]:hover:before,
[tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}

.map-footer iframe {
    width: 100%;
    height: 230px;
    border: 0;
    border-radius: 8px;
}

.logo {
    width: 100px;
}

.logo-mitra {
    width: 80px;
}

.gambar-qoute {
    width: 80px;
}

.image-service {
    border: 0;
    max-width: 100%;
    width: 100%;
    height: 250px;
    max-height: 700px;
    object-fit: cover;
}

.image-artikel {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    width: 100%;
    height: 300px;
    object-fit: cover;
    max-height: 700px;
}

.image-team {
    max-width: 100%;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.image-portofolio {
    max-width: 100%;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.detail-kalibrasi {
    max-width: 100%;
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.image-rental {
    max-width: 100%;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.rental-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rental-card .thumbnail {
    display: block;
    width: 100%;
    overflow: hidden;
}

.rental-card .image-rental {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rental-card:hover .image-rental {
    transform: scale(1.05);
}

.rental-card .rental-info {
    position: relative;
    background-color: #1a1a1a;
    padding: 15px;
    color: white;
    text-align: left;
}

.rental-card .pre-tag {
    display: block;
    color: #ff5e14;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 18px;
}

.rental-card .title {
    color: white;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.rental-card .btn-read-more-blog {
    display: inline-block;
    background-color: #ff5e14;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.rental-card .btn-read-more-blog:hover {
    background-color: #e04d00;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.item-image {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
    margin-right: 12px;
}

.item-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.4;
}

.item-specs {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.3;
}

.item-quantity {
    font-size: 0.875rem;
    color: #6b7280;
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
}

.item-price {
    font-weight: 500;
    color: #111827;
    text-align: right;
    min-width: 80px;
}

.summary-section {
    margin-top: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-row.total-harga {
    font-size: 1rem;
    padding-top: 12px;
    margin-top: 8px;
}

.message-section textarea {
    resize: vertical;
    min-height: 60px;
}

.shipping-section,
.voucher-section {
    padding: 12px;
}

.divider-vertical {
    border-left:    ;
    margin : 0 20px;
}

.divider-horizontal {
    border-top: 1px dashed #ccc;
}
