/* ── Reset list item auth ── */
.auth-menu {
    list-style: none;
    align-items: center;      /* biar sejajar */
    gap: 8px;
    flex-wrap: nowrap;
    display: flex;
}

.auth-menu > li {
    background: none !important;   /* neutralize Bootstrap btn-* yg mungkin masih terbawa */
    border: none !important;
    padding: 0 !important;
    margin: 0;
    display: flex;
    align-items: center;
}

/* ── Base button ── */
.auth-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .35px;
    text-transform: uppercase;
    padding: 7px 20px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.4;
    transition: background .25s ease, color .25s ease,
                border-color .25s ease, box-shadow .25s ease,
                transform .2s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
}

/* ── Login — outline ── */
.auth-login {
    border-color: #c43b68;
    color: #c43b68 !important;
    background: transparent;
    border-radius: 5px;
    width: 95px;
    height: 36px;
    justify-content: center;
}

.auth-login:hover,
.auth-login:focus-visible {
    background: #c43b68;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(196, 59, 104, .28);
    transform: translateY(-1.5px);
    text-decoration: none !important;
}

.auth-login:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── Register — solid ── */
.auth-register {
    background: #c43b68;
    color: #fff !important;
    border-color: #c43b68;
    border-radius: 5px;
    width: 95px;
    height: 36px;
    justify-content: center;
}

.auth-register:hover,
.auth-register:focus-visible {
    background: #fff;
    border-color: #c43b68;
    color: #c43b68 !important;
    transform: translateY(-1.5px);
    text-decoration: none !important;
}

.auth-register:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── User Logged In ── */
.auth-user {
    background: #1a1a1a;
    color: #fff !important;
    border-color: #1a1a1a;
    gap: 8px;
}

/* caret kecil */
.auth-user::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    flex-shrink: 0;
    transition: transform .25s;
    margin-left: 2px;
}

/* rotate caret saat dropdown terbuka (Bootstrap 5 akan menambah class show) */
.auth-user[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.auth-user:hover,
.auth-user:focus-visible {
    background: #c43b68;
    border-color: #c43b68;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(196, 59, 104, .28);
    transform: translateY(-1.5px);
    text-decoration: none !important;
}

/* ── Dropdown Menu ── */
.auth-dropdown-menu {
    border-radius: 12px !important;
    padding: 8px 0 !important;
    border: 1px solid rgba(0,0,0,.07) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.12) !important;
    min-width: 160px;
    margin-top: 8px !important;
}

.auth-dropdown-menu .dropdown-item {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    color: #313131;
    transition: background .15s, color .15s;
}

.auth-dropdown-menu .dropdown-item:hover,
.auth-dropdown-menu .dropdown-item:focus {
    background: #fdf1f5;
    color: #c43b68;
}

/* Logout merah */
.auth-dropdown-menu .auth-logout {
    color: #e53e3e;
}

.auth-dropdown-menu .auth-logout:hover,
.auth-dropdown-menu .auth-logout:focus {
    background: #fff5f5;
    color: #c53030;
}

.auth-dropdown-menu .dropdown-divider {
    border-color: #f0f0f0;
}


/* =============== PRODUCT IMAGE CUSTOM CSS =============== */

.product-image {
    display: flex;
}


/* ================================
   FLOATING CONTACT WRAPPER
================================ */
#option-contact {
    position: fixed;
    top : 200px;
    left: 35px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ================================
   HUBUNGI KAMI BOX
================================ */
#hubungikami-float {
    background: #ffffff;
    align-items: flex-start;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    position: center;
}

/* Efek tekstur kertas halus */
#hubungikami-float::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            rgba(0,0,0,0.02),
            rgba(0,0,0,0.02) 2px,
            transparent 2px,
            transparent 4px
        );
    border-radius: 8px;
    pointer-events: none;
}

/* ================================
   WHATSAPP BUTTON
================================ */
#whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

#whatsapp-float a:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
    #option-contact {
        bottom: 20px;
        left: 15px;
    }

    #whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    #hubungikami-float {
        font-size: 14px;
        padding: 8px 14px;
    }
}


/* Tambahan css sertifikat */
/* Mode center jika item sedikit */
.center-mode .owl-stage {
    display: flex;
    justify-content: center;
}

.center-mode .owl-item {
    width: auto !important;
}

.video-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 30px;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}