/* css Harga home */
.price-home {
    display: flex;
    flex-direction: column;
}
.price-home .price-new {
    color: #383838;
    font-weight: 500;
    font-size: 18px;
}
.price-home .price-old {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
}
.price-home .price-cart {
    font-size: 16px;
    color: #888;
}
.price-cart {
    display: flex;
    flex-direction: column;
}
.price-cart .price-new {
    font-weight: 600;
    font-size: 16px;
}
.price-cart .price-old {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
}
.price-show {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 23px;
}
.service-info .col-md-4 {
    display: block !important;
}
.cart-item .price-col .price-new {
    color: #888;
    font-weight: 400;
    font-size: 16px;
    display: block;
}
.cart-item .price-col .price-old {
    color: #888;
    text-decoration: line-through;
    margin-left: 6px;
    font-size: 14px;
    display: block;
}
/* batas css harga home*/

/* css article */
.article-hero {
    background: #ffffff;
    padding: 80px 0 60px;
}
.hero-title {
    font-weight: 700;
    font-size: 36px;
}
.hero-subtitle {
    color: #6c757d;
    margin-top: 10px;
}
/* SEARCH */
.article-search {
    margin-top: 40px;
    margin-bottom: 30px;
}
.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: auto;
}
.search-field {
    background-color: #ffffff;
    width: 100%;
    height: 52px;
    padding: 0 55px 0 20px;
    border-radius: 40px;
    outline: none;
    transition: 0.3s;
}
.search-field:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.search-btn:hover {
    background: #050035;
}
.featured-article {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0.3rem 0.7rem rgba(0,0,0,.10);
    margin-bottom: 60px;
}
.featured-title {
    font-weight: 700;
    font-size: 28px;
    line-height:1.3;
    margin:10px 0;
}
.featured-desc {
    color: #555;
    margin-bottom:15px;
    max-width:500px;
}
/* GRID CARD */
/* Biar kolom stretch */
.row > [class*='col-'] {
    display: flex;
}
/* Biar tombol selalu di bawah */
.article-card .btn1 {
    margin-top: auto;
}
.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0.3rem 0.7rem rgba(0,0,0,.20);
    transition: 0.3s;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.article-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-card .card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.article-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.btn1 {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    display: inline-block;   
    text-transform: capitalize;
    transition: 0.3s ease;
    text-align: center;
    border-radius: 30px;     
}
.btn1:hover {
    background-color: #050035;
    color: #fff;
    border: 1px solid #050035;
}
/* HERO IMAGE */
.article-detail {
    background: #ffffff;
    padding-bottom: 80px;
}
.article-banner {
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* CONTENT WRAPPER */
.article-content {
    max-width: 850px;
    margin: 60px auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
/* META */
.article-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}
.article-meta span {
    margin-right: 10px;
}
/* TITLE */
.article-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #111;
}
/* BODY */
.article-body {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}
.article-body p {
    margin-bottom: 20px;
}
.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}
.featured-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: calc(0.24rem -1 px);
}
.single-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: calc(0.24rem -1 px);
}
.card.shadow-custom {
    box-shadow: 0 0.3rem 0.7rem rgba(0,0,0,.15);
}
.card.shadow-custom2 {
    box-shadow: 0 0.3rem 0.7rem rgba(0,0,0,.15);
    max-width: 1050px; /* coba atur ukuran max card */
    margin: 2rem auto;   /* biar ke tengah */
}
.card-height {
    height: 380px;
    position: relative;
}
.card-height2 {
    height: 400px;
    position: relative;
}
.featured-article .col-md-6:last-child{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.featured-article img{
    width:100%;
    height:260px;
    object-fit:cover;
}
@media (max-width: 992px) {
    .article-banner {
        height: auto;
    }
    .article-banner img {
        height: auto;
        object-fit: contain;
    }
    .featured-article{
        padding:20px;
        margin-bottom:40px;
    }
    .featured-article img{
        width:100%;
        height:200px;
        object-fit:cover;
        margin-bottom:15px;
    }
    .featured-title{
        font-size:22px;
        line-height:1.4;
        margin-bottom:10px;
    }
    .featured-desc{
        font-size:14px;
        line-height:1.6;
        margin-bottom:15px;
    }
}
/* batas css article */

html, body {
    height: 100%;
}
body > .d-flex {
    min-height: 100vh;
}
main.flex-fill {
    flex: 1 0 auto;
}
footer.mt-auto {
    flex-shrink: 0;
}
#variant-name {
    display: none;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* css cabang */
.toko-anda {
    background: none !important;
    border: none !important;
    color: inherit;
    padding: 0;
    cursor: pointer;
    height: 100%;         /* optional, supaya mengikuti tinggi parent */
    font-weight: 400; 
}
.branch-item p{
    margin-bottom:6px;
}

.branch-item p a{
    display:inline;
    word-break:break-word;
}
#closeBranchPanel {
    all: unset;           /* hapus semua style bawaan tombol */
    color: #686868;
    font-size: 32px;       /* sesuaikan besar x */
    padding: 5px;          /* optional, buat klik area lebih luas */
}
.lokasi-saya {
    all: unset; 
    background: none !important;
    border: none !important;
    color: inherit;
    padding: 0;
    cursor: pointer;
    font-weight: 500;
    margin-top: 0;
}
/* Panel disembunyikan dulu */
.branch-panel {
  position: fixed;
  top: 0;
  right: -400px; /* tersembunyi di luar layar */
  width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 9999;
}
.branch-panel.active {
  right: 0; /* tampil di layar */
}
.panel-content {
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}
.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  float: right;
  cursor: pointer;
}
.search-input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}
.location-btn {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 9px 20px;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    text-align: center;
}
.branch-item {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.choose-btn {
  background: #007aff;
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
.branch-panel p {
    font-size: 17px;
}
.branch-products {
  margin: 20px;
  padding: 10px;
}
.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fafafa;
}
.branch-item.active-branch {
  border: 2px solid #28a745;
  background: #eafbea;
}
/* batas css toko cabang */

/* halaman register customer */
.register-home {
    margin: 0;
    min-height: 100vh;
}
.register-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
}
/* LEFT */
.register-left {
    flex: 2;
    padding: 80px;
    color: white;
    background-image: url('/themes/ezone/assets/img/bg/register.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.register-left h1 {
    font-size: 42px;
    font-weight: 700;
}
/* RIGHT */
.register-right {
    flex: 8;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-form {
    width: 100%;
    max-width: 420px;
}
.register-right h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;

}
.register-right input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 30px;
    border: 1px solid #ddd;
}
.register-right button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    background: #12294b;
    color: white;
    border: none;
    margin-top: 15px;
}
.register-right p {
    text-align: center;
    font-size: 17px;
    margin-top: 20px;
}
.error-text {
    display: block;
    margin-top: 4px;
    margin-left: 8px;
    font-size: 12px;
    color: #e63946;
}
/* RESPONSIVE */
@media (max-width: 992px) {
    .register-left {
        height: 200px;
        flex: none;
    }
    .register-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    .register-right {
        flex: unset;
        width: 100%;
        padding: 30px 20px;  
    }
    .register-form {
        max-width: 100%;
    }
}
/* batas halaman register */

/* halaman login customer */
.login-home {
    margin: 0;
    min-height: 100vh;
}
.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
}
/* LEFT */
.login-right {
    flex: 2;
    padding: 80px;
    color: white;
    background-image: url('/themes/ezone/assets/img/bg/login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-right h1 {
    font-size: 42px;
    font-weight: 700;
}
/* RIGHT */
.login-left {
    flex: 8;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-form {
    width: 100%;
    max-width: 420px;
}
.login-left h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;

}
.login-left input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 30px;
    border: 1px solid #ddd;
}
.login-left button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    background: #12294b;
    color: white;
    border: none;
    margin-top: 15px;
}
.login-left p {
    text-align: center;
    font-size: 17px;
    margin-top: 20px;
}
.login-toggle-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.forgot-link {
    font-size: 14px;
    color: #12294b;
    text-decoration: none;
}
.forgot-link:hover {
    text-decoration: underline;
}
/* hide the default checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
/* custom checkmark box */
.custom-checkbox .checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #12294b;
    border-radius: 5px;
    margin-right: 10px;
    vertical-align: middle;
}
/* on hover */
.custom-checkbox:hover .checkmark {
    background-color: #f0f0f0;
}
/* checkbox checked */
.custom-checkbox input:checked + .checkmark {
    background-color: #12294b;
    border-color: #12294b;
}
/* add tick */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}
/* show tick when checked */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
}
/* tick style */
.custom-checkbox .checkmark::after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.error-text {
    display: block;
    margin-top: 4px;
    margin-left: 8px;
    font-size: 12px;
    color: #e63946;
}
/* RESPONSIVE */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    .login-right {
        display: none;   /* sembunyiin gambar di mobile */
    }
    .login-left {
        flex: unset;
        width: 100%;
        padding: 30px 20px;
    }
    .login-form {
        max-width: 100%;
    }
}
/* batas css login customer */

/* header navbar */
.main-header {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #e2e1e1;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
    color: #333;
    display: inline-block;
}
.nav-item span {
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
    color: #333;
}
.header-container {
    max-width: 100%;
    margin: auto;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo img {
    width: auto;
    vertical-align: middle;
    border-style: none;
    overflow-clip-margin: content-box;
    overflow: clip;
    display: flex;
    margin-right: 10px;
}
.main-nav {
    display: flex;
    gap: 24px;
}
/* NAV ITEM */
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
/* CARET */
.fe--arrow-down {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='m6 7l6 6l6-6l2 2l-8 8l-8-8z'/%3E%3C/svg%3E");
}
.has-dropdown:hover .fe--arrow-down {
    transform: rotate(180deg);
}
/* DROPDOWN */
.has-dropdown {
    position: relative;
}
.header-dropdown {
    position: absolute;
    top: 130%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    min-width: 180px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    transition-delay: 0s !important;
    z-index: 99;
}
.header-dropdown li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    color: #333;
}
.header-dropdown li a:hover {
    background: #f5f5f5;
}
/* HOVER ACTION */
.has-dropdown:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* RIGHT */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.search-box input {
    background-color: #fdfdfd;
    width: 300px;
    padding: 14px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #383838;
}
.icon-btn {
    position: relative;
    font-size: 20px;
    text-decoration: none;
    color: #111;
}
.weui--shop-outlined {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M8 7V6a4 4 0 1 1 8 0v1h3c.552 0 1 .449 1 1.007v12.001c0 1.1-.895 1.992-1.994 1.992H5.994A1.994 1.994 0 0 1 4 20.008v-12C4 7.45 4.445 7 5 7zm1.2 0h5.6V6a2.8 2.8 0 0 0-5.6 0zM8 8.2H5.2v11.808c0 .436.356.792.794.792h12.012a.794.794 0 0 0 .794-.792V8.2H16V11h-1.2V8.2H9.2V11H8z'/%3E%3C/svg%3E");
}
.iconamoon--profile-circle-thin {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none'%3E%3Cpath stroke='%23000' d='M21 12a8.96 8.96 0 0 1-1.526 5.016A8.99 8.99 0 0 1 12 21a8.99 8.99 0 0 1-7.474-3.984A9 9 0 1 1 21 12Z' stroke-width='1'/%3E%3Cpath fill='%23000' d='M13.5 9a1.5 1.5 0 0 1-1.5 1.5v1A2.5 2.5 0 0 0 14.5 9zM12 10.5A1.5 1.5 0 0 1 10.5 9h-1a2.5 2.5 0 0 0 2.5 2.5zM10.5 9A1.5 1.5 0 0 1 12 7.5v-1A2.5 2.5 0 0 0 9.5 9zM12 7.5A1.5 1.5 0 0 1 13.5 9h1A2.5 2.5 0 0 0 12 6.5zM5.166 17.856l-.48-.142l-.077.261l.177.207zm13.668 0l.38.326l.177-.207l-.078-.261zM9 15.5h6v-1H9zm0-1a4.5 4.5 0 0 0-4.313 3.214l.958.285A3.5 3.5 0 0 1 9 15.5zm3 6a8.48 8.48 0 0 1-6.455-2.97l-.759.652A9.48 9.48 0 0 0 12 21.5zm3-5a3.5 3.5 0 0 1 3.355 2.5l.958-.286A4.5 4.5 0 0 0 15 14.5zm3.455 2.03A8.48 8.48 0 0 1 12 20.5v1a9.48 9.48 0 0 0 7.214-3.318z'/%3E%3C/g%3E%3C/svg%3E");
}
.badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: black;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}
.icon-dropdown {
    position: relative;
}
.icon-dropdown a {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    color: #333;
}
.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    min-width: 160px;
    padding: 8px 0;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    transition-delay: 0s !important;
    z-index: 9999;
}
.profile-dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #111;
    text-decoration: none;
}
.profile-dropdown li a:hover {
    background: #f5f5f5;
}
/* INI KUNCINYA */
.icon-dropdown:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.profile-dropdown .dropdown-user {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #777;
    border-bottom: 1px solid #eee;
    cursor: default;
}
.profile-dropdown .dropdown-user span {
    display: block;
}
.profile-dropdown .divider {
    height: 1px;
    background: #eee;
    margin: 6px 0;
}
.profile-dropdown .logout-btn {
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    color: #c0392b;
    cursor: pointer;
    font-family: inherit;
}
.profile-dropdown .logout-btn:hover {
    background: #fbeaea;
}
/* batas header */

/* css AI */
/* OVERLAY GELAP BELAKANG */
.ai-chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999999;
    display: flex;
    padding: 50px;
    justify-content: flex-end;
    align-items: flex-end;
}
/* KOTAK UTAMA CHAT */
.ai-chat-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    height: 80vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    overflow: hidden;
}
#chat-box {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* 🔥 WAJIB */
    overscroll-behavior: contain;
}
/* HEADER */
.ai-chat-header {
    padding: 14px 16px;
    background: #383838;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.ai-chat-header button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.si--ai-line {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' stroke-width='1.5' d='m14.04 14.863l-.886 3.099c-.332 1.16-1.976 1.16-2.308 0l-.885-3.099a1.2 1.2 0 0 0-.824-.824l-3.099-.885c-1.16-.332-1.16-1.976 0-2.308l3.099-.885a1.2 1.2 0 0 0 .824-.824l.885-3.099c.332-1.16 1.976-1.16 2.308 0l.885 3.099a1.2 1.2 0 0 0 .824.824l3.099.885c1.16.332 1.16 1.976 0 2.308l-3.099.885a1.2 1.2 0 0 0-.824.824m5.531 4.853l-.376 1.508c-.05.202-.337.202-.388 0l-.377-1.508a.2.2 0 0 0-.145-.145l-1.508-.377c-.202-.05-.202-.337 0-.388l1.508-.377a.2.2 0 0 0 .145-.145l.377-1.508c.05-.202.337-.202.388 0l.377 1.508a.2.2 0 0 0 .145.145l1.508.377c.202.05.202.337 0 .388l-1.508.377a.2.2 0 0 0-.145.145m-14.001-14l-.376 1.508c-.05.202-.338.202-.388 0l-.377-1.508a.2.2 0 0 0-.145-.145l-1.508-.377c-.202-.05-.202-.338 0-.388l1.508-.377a.2.2 0 0 0 .145-.145l.377-1.508c.05-.202.338-.202.388 0l.377 1.508a.2.2 0 0 0 .145.145l1.508.377c.202.05.202.338 0 .388l-1.508.377a.2.2 0 0 0-.145.145'/%3E%3C/svg%3E");
}
/* BODY CHAT */
.ai-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f9fafb;
    min-height: 0;
}
/* INPUT AREA */
.ai-chat-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}
.ai-chat-input input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 14px;
    outline: none;
}
.ai-chat-input button {
    background-color: #333;
    margin-left: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    color: #fff;
    cursor: pointer;
    display: block;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    text-align: center;
}
.ai-chat-input button:hover {
    background-color: #050035;
}
/* BUBBLE USER */
.chat-row.user {
    justify-content: flex-end;
}
.bubble-chat {
    background: #383838;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 75%;
}
/* BUBBLE BOT */
.bubble-chat2 {
    background: #e1eaf5;
    color: #111;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 75%;
    line-height: 1.4;
}
.prompt {
    background: #ecf2f8;
    color: #111;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 75%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.chat-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
@media (max-width: 992px) {
    .ai-chat-overlay {
        padding: 0 16px 90px 16px;
        align-items: flex-end;
        justify-content: center;
    }
    .ai-chat-box {
        width: 100%;
        max-width: 420px;
        height: 65vh; /* 🔥 lebih kecil dari 95vh */
        border-radius: 20px; /* 🔥 balikin rounded */
        margin-bottom: 10px;
    }
}
/* batas css AI*/

/* css homepage */
.modal-header {
  border-bottom: 1px solid #eee !important;
  padding-bottom: 12px;
}
.variant-modal {
  border-radius: 14px;
}
.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e53935;
  margin-bottom: 20px;
}
.product-price .price-old {
    font-size: 14px !important;
    font-weight: 400;
    color: #888 !important;
}
.variant-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.variant-btn {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 500;
}
.variant-btn:hover {
  border-color: #0d6efd;
  color: #0d6efd;
}
.variant-btn.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
.btn-modal {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    display: block;
    width: 200px;
    margin: 10px 0;
    padding: 9px 20px;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    text-align: center;
}
.btn-modal:hover {
    background-color: #050035;
    color: #fff;
    border: 1px solid #050035;
}
.btn-modal.btn-secondary {
    background-color: #050035;
    border: 1px solid #050035;
    color: #fff;
    display: block;
    width: 200px;
    margin: 10px 0;
    padding: 9px 20px;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    text-align: center;
}
.btn-modal.btn-secondary:hover {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}
.variant-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.price-new {
    font-size: 20px;
    font-weight: 700;
    color: #d32f2f; /* merah diskon */
}
.price-old {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
}
/* Kasih ruang atas di body modal */
#variantModal .modal-body {
    padding-top: 30px;
    padding-bottom: 10px;
}
/* Harga */
#variantPrice {
    text-align: center;
    margin-top: 80px;
}
#variantPrice .price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
/* Varian */
.variant-options {
    display: flex;
    flex-direction: column;   /* bikin turun ke bawah */
    gap: 10px;
    margin-top: 10px;
}
/* Tombol varian full width */
.variant-btn {
    width: 100%;
}
/* batas css homepage */

/* css judul halaman */
.page-header {
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
}
.page-title {
    font-weight: 700;
    margin-bottom: 6px;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 14px;
}
.breadcrumb-item a {
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #12294b;
    font-weight: 600;
}
/* css judul halaman */

/* css cart */
.product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 30px;
    color: #777;
    transition: all 0.2s ease;
}
.cart-wrapper {
    padding: 60px 20px;
    background: #ffffff;
}
.cart-container {
    max-width: 1200px;
    margin: auto;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.cart-header h1 {
    font-size: 28px;
    font-weight: 600;
}
.continue-btn {
    background: #333;
    color: #fff;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
}
.continue-btn:hover {
    background: #050035;
    color: #fff;
}
.cart-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.cart-table {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.cart-table th {
    padding: 12px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #fff;
    background: #333;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.cart-table tr:hover {
    background: #fafafa;
}
.cart-table table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.summary-branch {
    width: 20%;
    margin-left: auto;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    font-size: 15px;
    color: #555;
}
.cart-summary {
    width: 380px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.cart-summary h3 {
    margin-bottom: 20px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.summary-row.grand {
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid #eee;
    padding-top: 12px;
}
.checkout-btn {
    display: block;
    margin-top: 20px;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
}
.checkout-btn:hover {
    color: #fff;
    background: #050035;
}
.quick-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #333;
    color: #fff;
}
.quick-btn:hover {
    color: #fff;
    background: #050035;
}
.quick-note {
    font-size: 14px;
    margin-top: 10px;
    color: #777;
}
.form-input {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 16px;
    background: none;
}
.form-input:focus {
    outline: none;
    border: 1px solid #333;
}
.modal-pesan-cepat {
    border-radius: 14px;
    border: none;
    font-size: 16px;           
    line-height: 1.6;
}
.modal-pesan-cepat .modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
}
.modal-pesan-cepat .modal-title {
    font-size: 20px;
    font-weight: 600;
}
.modal-pesan-cepat .modal-body {
    padding: 22px 24px;
    position: relative;
    min-height: 400px;
}
.modal-pesan-cepat .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
}
.btn-order {
    background-color: #333;
    border: 1px solid #333;
    color: #fff;
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 9px 20px;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    text-align: center;
}
.btn-order:hover {
    background-color: #050035;
    color: #fff;
    border: 1px solid #050035;
}
.btn-order.btn-secondary {
    background-color: #050035;
    border: 1px solid #050035;
    color: #fff;
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 9px 20px;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
    text-align: center;
}
.btn-order.btn-secondary:hover {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}
.modal-header .btn-close {
    background-image: var(--bs-btn-close-bg) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
    opacity: .7;
    filter: none;
}
.modal-header .btn-close:hover {
    opacity: 1;
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: 0.25s;
}
.payment-option:hover {
    border-color: #333;
}
.payment-option input {
    display: none;
}
/* Buletan custom */
.payment-option .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    border-radius: 50%;
    position: relative;
}
.payment-option input:checked + .checkmark {
    border-color: #333;
}
.payment-option input:checked + .checkmark::after {
    content: "";
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.payment-option .text small {
    display: block;
    color: #777;
    font-size: 13px;
}
.modal-footer-cart {
    display: flex;
    gap: 10px;
}
.modal-footer-cart .btn-order {
    width: 50%;
    margin: 0;
}
.custom-close {
    background: none;
    border: none;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    color: #333;
    cursor: pointer;
    opacity: .6;
    transition: .2s ease;
}
.custom-close:hover {
    opacity: 1;
}
.quick-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    border-radius: 14px;
}
.spinner {
    width: 35px;
    height: 35px;
    border: 4px solid #ddd;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 992px) {
    .cart-layout {
        flex-direction: column;
        gap: 20px;
        display: block;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }
    .cart-table tr.cart-item {
        background: #fff;
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 15px;
    }
    .cart-table td {
        border: none;
        padding: 6px 0;
        text-align: left;
    }
    .product-col {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .price-col::before {
        content: "Harga: ";
        font-weight: 500;
        color: #666;
    }
    .qty-col::before {
        content: "Qty: ";
        font-weight: 500;
        color: #666;
    }
    .total-col::before {
        content: "Total: ";
        font-weight: 600;
    }
    .remove-col {
        margin-top: 10px;
        text-align: right;
    }
    .remove-col-wl {
        margin-top: 10px;
        text-align: center;
    }
    .cart-table,
    .cart-summary {
        margin-bottom: 30px;
        width: 100% !important;
        margin-left: 0;
        box-shadow: 0 8px 25px rgba(0,0,0,.20);
    }
    .summary-branch {
        margin-bottom: 30px;
        width: 100% !important;
        margin-left: 0;
    }
    .cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    .cart-header > div {
        flex: 1;
    }
}
/* batas css cart */

/* css pesan cepat */
.badge-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.badge-success {
    background: #d1fae5;   /* hijau soft */
    color: #065f46;        /* hijau gelap */
    border: 1px solid #10b981;
}
.badge-pending {
    background: #fef3c7;   /* kuning soft */
    color: #92400e;        /* coklat/amber */
    border: 1px solid #f59e0b;
}
.badge-reject {
    background: #fee2e2;   /* merah soft */
    color: #991b1b;        /* merah gelap */
    border: 1px solid #ef4444;
}
.badge-info {
    background: #e0f2fe;   /* biru soft */
    color: #075985;        /* biru tua */
    border: 1px solid #38bdf8;
}
.badge-secondary {
    background: #f3f4f6;   /* abu soft */
    color: #374151;        /* abu tua */
    border: 1px solid #9ca3af;
}
.order-tracking-wrapper {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
}
/* BACKDROP */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
/* CONTENT */
.custom-modal-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}
/* HEADER */
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.custom-modal-header h5 {
    margin: 0;
    font-weight: 600;
}
.custom-modal-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
/* BODY */
.custom-modal-body textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    resize: none;
    font-size: 14px;
}
/* FOOTER */
.custom-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.custom-modal-footer button {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}
.btn-secondary {
    background-color: #333;
}
.btn-danger {
    background-color: #050035;
    color: white;
}
.btn-secondary:hover {
    background-color: #050035;
    color: #ffffff;
    border: 1px solid #050035;
}
.btn-danger:hover {
    background-color: #333;
    color: #ffffff;
    border: 1px solid #333;
}
/* ANIMATION */
@keyframes fadeIn {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.quick-error {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    animation: fadeSlide 0.25s ease;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: auto;      /* bikin tetap di tengah */
    height: auto;
}
.quick-error-icon {
    font-size: 22px;
    color: #dc3545;
}
.quick-error-content h6 {
    margin: 0;
    font-weight: 600;
    color: #b02a37;
}
.quick-error-content p {
    margin: 4px 0;
    font-size: 14px;
}
.quick-error-content small {
    color: #666;
}
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Card global style */
.order-header,
.order-details-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
/* Header */
.order-header {
    margin-bottom: 18px;
    position: relative;
}
.order-header h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
}
/* Status badge */
.order-status {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
}
/* Estimasi */
.order-estimate {
    font-size: 14px;
    margin-top: 8px;
    color: #6c757d;
}
/* Countdown */
#countdown {
    font-weight: 700;
    color: #0d6efd;
    font-size: 18px;
}
/* Timeline */
.tracking-steps {
    list-style: none;
    margin: 20px 0 28px;
    padding-left: 0;
}
.tracking-steps li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 22px;
    font-size: 14px;
    color: #adb5bd;
}
.tracking-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dee2e6;
    transition: all .3s ease;
}
.tracking-steps li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 18px;
    width: 2px;
    height: calc(100% - 10px);
    background: #e9ecef;
}
.tracking-steps li:last-child::after {
    display: none;
}
.tracking-steps li.active {
    color: #212529;
    font-weight: 600;
}
.tracking-steps li.active::before {
    background: #0d6efd;
    transform: scale(1.2);
}
/* Order details */
.order-details-card {
    margin-bottom: 20px;
}
.order-details-card .card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}
.order-details-card p {
    font-size: 13px;
    margin-bottom: 6px;
    color: #495057;
}
/* Buttons */
.order-actions {
    margin-top: 10px;
    gap: 8px;
}
.order-actions .btn {
    border-radius: 12px;
    padding: 0 16px;
    font-size: 13px;
}
/* batas css pesan cepat */

/* css riwayat order */
.form-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8fa;
}
.form-center {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}
.form-box {
    width: 100%;
    max-width: 520px;
    background: white;
    padding: 30px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.form-box h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}
.form-box label {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    display: block;
}
.form-box input {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    border-radius: 30px;
    border: 1px solid #ddd;
}
.form-box button {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    background: #12294b;
    color: white;
    border: none;
    margin-top: 18px;
    font-weight: 600;
}
.profile-page .form-box {
    max-width: 900px; /* lebih lebar */
    padding: 40px;
}
.form-row {
    display: flex;
    gap: 14px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-divider {
    margin: 25px 0 15px;
    font-size: 13px;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: .5px;
}
/* batas css riwayat order */

/* css member card */
.member-card {
    width: 100%;
    position: relative;
    max-width: 420px;
    border-radius: 14px;
    padding: 30px 28px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.member-logo {
    position: absolute;
    top: 14px;
    right: 16px;
    height: 28px;
}
.member-name {
    font-weight: 600;
    margin-bottom: 14px;
}
.member-row {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    margin-bottom: 6px;
    color: #555;
}
.member-row strong {
    color: #000;
}
.member-status {
    margin-top: 12px;
    text-align: right;
}
/* batas css member card */

/* css riwayat order show */
.order-wrapper {
    padding: 60px 20px;
    background: #ffffff;
}
.order-container {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.order-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
}
.order-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.order-card {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}
.order-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.order-card p {
    margin: 5px 0;
    font-size: 14px;
}
.order-table table {
    width: 100%;
    border-collapse: collapse;
}
.order-table th {
    background: #333;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-size: 13px;
}
.order-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
}
.order-summary {
    max-width: 420px;
    margin-left: auto;
    margin-top: 40px;
    color: #333;
    padding: 25px;
    border-radius: 8px;
}
.order-summary div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.order-summary .grand-total {
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
}
.payment-action {
    margin-top: 25px;
}
.pay-button {
    display: block;
    width: 100%;
    text-align: center;
    background: #333;
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pay-button:hover {
    background: #050035;
    color: #fff;
    transform: translateY(-2px);
}
.review-btn {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.2s ease;
}
.review-btn:hover {
    background: #050035;
    color: #fff;
    transform: translateY(-1px);
}
.review-done {
    font-size: 13px;
    color: green;
    font-weight: 500;
}
.review-disabled {
    font-size: 13px;
    color: #999;
}
@media (max-width: 992px) {
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    .order-container {
        padding: 20px;
    }
    .order-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .order-card {
        padding: 16px;
    }
    .order-card p {
        font-size: 13px;
    }
    .order-table td:last-child {
        text-align: center;
    }
    .review-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 8px 10px;
        font-size: 12px;
    }
    .review-disabled,
    .review-done {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}
/* batas css riwayat order show */

/* css produk */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* ===== MOBILE HEADER ===== */
.mobile-toggle {
    background: none;
    border: none;
    font-size: 22px;
    margin-left: 15px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.product-details-small{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:5px 0;
}
.product-details-small a{
    flex:0 0 80px;
    height:80px;
    border-radius:6px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f5f5;
}
.product-details-small img{
    max-width:100% !important;
    max-height:100% !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    display:block;
}
.product-details-small::-webkit-scrollbar{
    display:none;
}
@media (max-width: 992px) {
    .main-nav {
        position: fixed;   
        top: 70px;
        left: 0;
        width: 100vw;      
        background: #fff;
        flex-direction: column;
        padding: 20px;
        display: none;
        z-index: 9999;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav a,
    .main-nav .nav-link {
        padding: 10px 20px;
        display: block;
    }
    .header-container {
        flex-wrap: wrap;
    }
    .header-right {
        width: 100%;
        margin-top: 10px;
        justify-content: space-between;
    }
    .search-box input {
        width: 100%;
    }
}
/* css mobile wishlist */
/* Wishlist specific tweak */
.wishlist-table td {
    vertical-align: middle;
}
@media (max-width: 992px) {
    .wishlist-table thead {
        display: none;
    }
    .wishlist-table table,
    .wishlist-table tbody,
    .wishlist-table tr,
    .wishlist-table td {
        display: block;
        width: 100%;
    }
    .wishlist-table tr.cart-item {
        background: #fff;
        border-radius: 16px;
        padding: 16px;
        margin-bottom: 15px;
    }
    .wishlist-table td {
        border: none;
        padding: 6px 0;
        text-align: left;
    }
    .wishlist-table .price-col::before {
        content: "Harga: ";
        font-weight: 500;
        color: #666;
    }
    .wishlist-table .remove-col {
        text-align: right;
        margin-top: 10px;
    }
    .wishlist-table .remove-col-wl {
        text-align: center;
        margin-top: 10px;
    }
}
@media (max-width: 992px) {
    .popular-product-active .product-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    .popular-product-active .product-img img {
        width: 90%;
        margin: auto;
        display: block;
    }
    .header-left{
        position: relative;
        width: 100%;
    }
    .mobile-toggle{
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
}
/* batas css mobile*/

/* css riwayat order index */
.order-wrapper {
    padding: 60px 20px;
    background: #ffffff;
}
.order-container {
    max-width: 1200px;
    margin: auto;
}
.cart-header > div {
    flex: 1;
}
.order-table {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    overflow-x: auto;
}
.order-table table {
    width: 100%;
    border-collapse: collapse;
}
.order-table th {
    padding: 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #fff;
    background: #333;
    text-align: center;
}
.order-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.order-table tr:hover {
    background: #fafafa;
}
/* Detail button */
.detail-btn {
    background: #333;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}
.detail-btn:hover {
    background: #050035;
    color: #fff;
}
/* Status badge */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.order-status,
.payment-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.sub-info {
    font-size: 11px;
    color: #777;
    letter-spacing: 0.5px;
}
.status-delivered { background: #fff3cd; color: #856404; }
.status-created { background: #cce5ff; color: #004085; }
.status-confirmed { background: #cce5ff; color: #004085; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
/* Payment badge */
.payment-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.payment-badge.paid {
    background: #d4edda;
    color: #155724;
}
.payment-badge.unpaid {
    background: #f8d7da;
    color: #721c24;
}
/* batas css riwayat order index */

/* checkout css */
#checkout-form .row > [class*="col-"] {
    display: block;
}
@media (max-width: 992px) {
    .your-order {
        padding: 20px;
        margin: 15px 15px;
    }
}
/* batas checkout css */

/* css rating show produk*/
.form-review {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    max-width: 600px;
    align-items: center;
    border: 1px solid #e5e7eb;
    font-size: 16px;
    background: none;
}
select.form-review,
input.form-review {
    height: 44px;
}
textarea.form-review {
    min-height: 120px;
    resize: vertical;
}

.form-review:focus {
    outline: none;
    border: 1px solid #333;
}
.submit-review {
    display: block;
    width: 200px; /* biar gak full */
    margin: 25px auto 0; /* ini bikin CENTER */
    padding: 12px 20px;
    background: #333;
    color: #fff;
    border: none;              /* penting */
    outline: none;             /* penting */
    box-shadow: none;          /* hilangin efek 3D */
    appearance: none;          /* hilangin style browser */
    -webkit-appearance: none;  /* safari */
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}
.submit-review:hover {
    color: #fff;
    background: #050035;
    transform: translateY(-2px); /* efek modern subtle */
}
.submit-review:active {
    transform: translateY(0);
}
.rating-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
}
.rating-wrapper input {
    display: none;
}
.rating-wrapper .star {
    width: 28px;
    height: 28px;
    fill: #ddd;
    cursor: pointer;
    transition: 0.2s ease;
}
.rating-wrapper label:hover .star,
.rating-wrapper label:hover ~ label .star,
.rating-wrapper input:checked ~ label .star {
    fill: #fbbf24;
    transform: scale(1.1);
}
.review-rating {
    display: flex;
    justify-content: center; /* biar ga nempel kiri */
    align-items: center;
    gap: 6px;
    margin: 6px 0;
}
.review-star {
    font-size: 18px;
    color: #ddd;
}
.review-star.filled {
    color: #ffc107;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}
.review-product {
    font-size: 13px;
    color: #888;
}
.review-card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    max-width: 600px;
    padding: 20px;
    margin: 0 auto 16px;
    transition: 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.review-user {
    display: flex;
    gap: 12px;
    align-items: center;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.custom-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto 20px;
}
.custom-alert.info {
    background: #eef6ff;
    color: #0d6efd;
    border: 1px solid #cfe2ff;
}
.rating-summary {
    text-align: center;
    margin-bottom: 25px;
}
.summary-score {
    font-size: 32px;
    font-weight: 600;
}
.summary-stars .star {
    color: #ddd;
    font-size: 20px;
}
.summary-stars .star.filled {
    color: #ffc107;
}
.quick-view-rating{
   font-size: 20px;
}
.quick-view-rating .filled{
    font-size: 19px;
    color: #ffc107;
}