.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 3px;
    width: 0;
    transition: 0.3s;
    background-color: #5b7f5a;
}

.nav-link.active {
    color: #5b7f5a !important;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.content-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100%;
    z-index: 9999999;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
}
.content-loader .loader {
    --size: 30px;
    --color: #7367f0;
    width: 100px;
    height: 100px;
    position: relative;
}

.loader::after,
.loader::before {
    box-sizing: border-box;
    position: absolute;
    content: "";
    width: var(--size);
    height: var(--size);
    top: 50%;
    animation: up 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
    left: 50%;
    background: var(--color);
    box-shadow: 0 0 calc(var(--size) / 3) rgba(0, 0, 0, 0.25);
}

.loader::after {
    background: var(--color);
    top: calc(50% - var(--size));
    left: calc(50% - var(--size));
    animation: down 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
}

@keyframes down {
    0%,
    100% {
        transform: none;
    }

    25% {
        transform: translateX(100%);
    }

    50% {
        transform: translateX(100%) translateY(100%);
    }

    75% {
        transform: translateY(100%);
    }
}

@keyframes up {
    0%,
    100% {
        transform: none;
    }

    25% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-100%) translateY(-100%);
    }

    75% {
        transform: translateY(-100%);
    }
}

/***** Modern Lumajang Tulen Loader (Modifier: .tulen-loader) *****/
.content-loader.tulen-loader {
    background-color: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 9999999 !important;
}

.tulen-loader-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(19, 62, 39, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
    animation: tulenLoaderPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tulen-spinner-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3.5px solid #e8f3ec;
    border-top-color: #133e27;
    border-right-color: #2d6a4f;
    animation: tulenSpin 0.85s linear infinite;
}

/* Fallback if using standard .loader inside .tulen-loader */
.content-loader.tulen-loader .loader {
    --color: #133e27 !important;
}

@keyframes tulenSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes tulenLoaderPop {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes load {
    0% {
        box-shadow: inset -20px 40px 0 #0a7cbe;
    }

    50% {
        box-shadow: inset 0 0 0 #0a7cbe;
    }

    100% {
        box-shadow: inset 20px -40px 0 #0a7cbe;
    }
}

.page_404 {
    padding: 40px 0;
    background: #fff;
    font-family: "Poppins", sans-serif;
}

.four_zero_four_bg {
    background: url("/assets/img/errors/bg.gif") no-repeat center center;
    height: 500px;
    background-size: 50%;
}

.page_404 h1 {
    font-size: 80px;
    font-weight: 700;
}

.page_404 h3 {
    font-size: 24px;
    font-weight: 500;
}

.page_404 p {
    font-size: 16px;
    margin-bottom: 20px;
}

.page_404 a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: #39ac31;
    display: inline-block;
}

.content_box_404 {
    margin-top: -50px;
}

.page_404 a:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page_404 h1 {
        font-size: 60px;
    }

    .page_404 h3 {
        font-size: 20px;
    }

    .page_404 p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page_404 h1 {
        font-size: 40px;
    }

    .page_404 h3 {
        font-size: 18px;
    }

    .page_404 p {
        font-size: 12px;
    }

    .four_zero_four_bg {
        /* height: 200px; */
    }
}

.cart-circle {
    position: relative;
}

.cart-circle::after {
    content: "";
    position: absolute;
    left: 0;
    height: 3.5px !important;
    width: 0;
    transition: 0.3s;
    background-color: #5b7f5a;
}

.cart-circle:hover::after {
    width: 100%;
}

.cart-circle.active {
    position: relative;
    padding: 12.5px !important;
}

.cart-circle.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px !important;
    height: 3px !important;
    width: 0;
    transition: 0.3s;
    background-color: #5b7f5a;
}

.cart-circle.active::after {
    width: 100%;
}

.cart-circle.user-has-cart::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #bb0909;
    bottom: 28px;
    left: 25px;
}

.cart-circle.active.user-has-cart::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #bb0909;
    bottom: 28px;
    left: 30px;
}

/***** Product Page *****/
.content {
    /* max-width: 1440px; */
    padding-top: 80px;
    padding-bottom: 100px;
}

.text-gray {
    color: rgba(0, 0, 0, 0.4) !important;
}

.text-black {
    color: #000 !important;
}

.text-red {
    color: #bb0909 !important;
}

.text-green {
    color: #5d7f5a !important;
}

.filter-mobile {
    display: none;
}

.filter-wrapper-mobile {
    display: none;
}

.left-section {
    flex: 1;
}

.right-section {
    flex: 6;
}

.input-group {
    position: relative;
    width: 100%;
    margin-left: auto;
}

.input-group .form-control {
    padding-left: 55px;
    color: #aaa;
    font-size: 18px;
    height: 50px;
}

.input-group .form-control-feedback {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 24px;
    display: block;
    width: 35px;
    height: 35px;
    text-align: center;
    pointer-events: none; /* Pastikan ikon tidak mengganggu input */
    color: #aaa;
}

.input-group .search {
    font-size: 18px;
    font-weight: normal;
}

.form-check input[type="checkbox"] {
    border: 1px solid black;
    border-radius: 0px;
}

.form-check input[type="checkbox"]:checked {
    border: 1px solid #7367f0;
}

.filter-item {
    margin-left: 40px;
}

.stars-container {
    color: #f2db0a;
}

.product-wrapper {
    justify-content: start;
    gap: 10px;
}

.product-card {
    width: 180px;
    overflow: hidden;
    color: #000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 !important;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2), 0 12px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
}

.card-img {
    height: 180px !important;
    object-fit: cover;
}

.skeleton {
    background-color: #eee;
    border-radius: 4px;
    margin-bottom: 20px;
    width: 180px;
    height: 280px; /* Adjust height according to your card height */
    position: relative;
    overflow: hidden;
}

.skeleton-review {
    background-color: #eee;
    border-radius: 4px;
    margin-bottom: 20px;
    width: 100%;
    height: 150px; /* Adjust height according to your card height */
    position: relative;
    overflow: hidden;
}

.skeleton::after,
.skeleton-review::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.2s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.skeleton-container {
    display: flex;
    flex-direction: column;
}

.skeleton-item {
    background-color: #e5e7eb !important;
    background-image: linear-gradient(
        90deg,
        #e5e7eb 0%,
        #e5e7eb 25%,
        rgba(255, 255, 255, 0.85) 50%,
        #e5e7eb 75%,
        #e5e7eb 100%
    ) !important;
    background-size: 200% 100% !important;
    background-repeat: no-repeat !important;
    border-radius: 4px;
    height: 20px;
    margin-bottom: 10px;
    width: 100%;
    animation: skeleton-loading 1.4s ease-in-out infinite !important;
}

.previous,
.next {
    background-color: transparent;
    color: #5d7f5a;
}

.previous:hover,
.next:hover {
    color: #5d7f5a;
}

.pagination .page-link {
    font-weight: bold;
    border-radius: 0px;
    background-color: transparent;
}

.pagination .page-link:hover {
    background-color: rgba(93, 127, 90, 0.6);
    color: #ffffff;
}

.pagination .page-link.active {
    background-color: #5d7f5a;
    color: #ffffff;
}

.filter-mobile {
    width: 100%;
}

.filter-button {
    width: 100%;
}

.filter-button button {
    width: 100%;
}

.delete-filter {
    font-size: 14px;
}

.btn-outline-success {
    border: 1px solid #5d7f5a !important;
    color: #5d7f5a !important;
    transition: 0.2s;
}

.btn-outline-success:disabled {
    border: 1px solid #5d7f5a !important;
    color: #5d7f5a !important;
    transition: 0.2s;
}

.btn-outline-success:hover {
    border: 1px solid #5d7f5a !important;
    background-color: #5b7f5a !important;
    color: white !important;
}

.btn-success {
    border: 1px solid #5d7f5a !important;
    background-color: #5d7f5a !important;
}

.btn-success:hover {
    border: 1px solid #5d7f5a !important;
    background-color: rgba(93, 127, 90, 0.9) !important;
}

.btn-success:disabled {
    border: 1px solid #5d7f5a !important;
    background-color: #5d7f5a !important;
}

.btn-success.disabled {
    border: 1px solid #5d7f5a !important;
    background-color: #5d7f5a !important;
}
/***** End Product Page *****/

/***** Detail Product Page *****/
.breadcrumb-item a {
    color: #5d7f5a !important;
}

.product-container {
    flex: 2;
    max-width: 550px;
}

.detail-product-wrapper {
    flex: 2;
}

.product img {
    width: 550px;
    height: 450px;
}

.img-stock-0 {
    filter: brightness(50%);
}

.gallery img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}

.total p {
    color: #000;
}

.stok p {
    color: #000;
}

.detail-button button,
#btnAskProduct {
    border-radius: 0px;
}

.store-container {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.store-detail-image {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid rgba(34, 31, 31, 0.7);
    cursor: pointer;
}
.store-info {
    margin-left: 15px;
}
.store-info h5 {
    margin-bottom: 15px;
    font-weight: normal;
    color: black;
}

.store-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.store-actions a {
    width: 180px;
}

.store-divider {
    width: 2px;
    background-color: #dcdcdc;
    height: 120px;
    margin: 0 15px;
}

.right-store-stats h5 {
    color: #000 !important;
}

.store-stats {
    color: black;
}

.product-description {
    max-width: 1200px;
}

.product-description h4,
p,
li {
    color: #000 !important;
}

.buyer-image {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(34, 31, 31, 0.7);
    object-fit: cover;
}

.buyer-review-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Skeleton styles */
.skeleton-detail {
    border-radius: 4px;
    background-color: #ddd !important;
    min-height: 16px !important;
    margin: 10px 0px 10px 0px;
    position: relative !important;
    overflow: hidden !important;
    z-index: 99 !important;
}

/* Shimmer animation */
.skeleton-detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -150px;
    }
    100% {
        left: 100%;
    }
}

.skeleton-detail-text {
    width: 100%;
    height: 20px;
}

.skeleton-product-image {
    width: 550px;
    height: 450px;
}

.skeleton-detail-image {
    width: 180px;
    height: 180px;
}

.skeleton-detail-small {
    width: 85px;
    height: 30px;
}

.skeleton-detail-large {
    width: 300px;
    height: 50px;
}

.skeleton-detail-price {
    width: 180px;
    height: 40px;
}

.skeleton-detail-button {
    width: 140px !important;
    height: 40px !important;
}

.skeleton-detail-desc {
    width: 100%;
    height: 200px;
}

/***** End Detail Product Page *****/

/***** Modern Checkout Page (Matching Lumajang Tulen New Design System) *****/
.checkout-page-wrapper {
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1.25rem 4rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.checkout-header-title-box {
    margin-bottom: 1.75rem;
}

.checkout-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.02em;
}

.checkout-main-layout {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

.checkout-items-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

/* Checkout Cards */
.checkout-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    transition: all 0.2s ease;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.checkout-card-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 0%;
}

.checkout-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    background: #eaf4ee !important;
    color: #133e27 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
}

.checkout-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.01em;
    min-width: 0;
    word-break: break-word;
}

.btn-change-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 20px;
    border-radius: 9999px;
    border: 1.5px solid #133e27;
    background: transparent;
    color: #133e27;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-change-address:hover {
    background: #133e27;
    color: #ffffff;
}

/* Address Card Content */
.checkout-address-body {
    padding-left: 44px;
    min-width: 0;
    word-break: break-word;
}

.checkout-address-recipient {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    word-break: break-word;
}

.checkout-address-recipient span.phone {
    font-weight: 500;
    color: #64748b;
    margin-left: 8px;
    display: inline-block;
}

.checkout-address-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

/* Products List */
.checkout-products-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.checkout-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
    min-width: 0;
}

.checkout-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-product-item:first-child {
    padding-top: 0;
}

.checkout-product-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 0%;
    overflow: hidden;
}

.checkout-product-thumb {
    width: 62px;
    height: 62px;
    min-width: 62px;
    max-width: 62px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #edf2f7;
    background: #f8fafc;
    flex-shrink: 0;
}

.checkout-product-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 0%;
    overflow: hidden;
}

.checkout-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.checkout-product-price-qty {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

.checkout-product-notes {
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-product-subtotal {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
    margin-left: auto;
}

/* Options Cards (Shipping & Payment) */
.checkout-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.checkout-option-card:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.checkout-option-card.active {
    border-color: #133e27 !important;
    background-color: #f7fdf9 !important;
    box-shadow: 0 2px 10px rgba(19, 62, 39, 0.08) !important;
}

.checkout-option-card.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    background: #f8fafc;
}

.checkout-option-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.checkout-radio-circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #ffffff;
}

.checkout-option-card.active .checkout-radio-circle,
.address-modal-card.active .checkout-radio-circle {
    border-color: #133e27;
}

.checkout-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #133e27;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkout-option-card.active .checkout-radio-inner,
.address-modal-card.active .checkout-radio-inner {
    opacity: 1;
    transform: scale(1);
}

.checkout-option-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.checkout-option-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.checkout-option-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.checkout-option-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #e2e8f0;
    color: #475569;
}

.checkout-option-badge.badge-green {
    background: #e8f5e9;
    color: #1b4332;
}

.checkout-option-badge.badge-blue {
    background: #e0f2fe;
    color: #0369a1;
}

.checkout-option-subtext {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkout-option-price {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}

/* Courier Service Pills */
.courier-service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.service-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.service-pill-btn:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.service-pill-btn.active {
    border-color: #133e27 !important;
    background: #133e27 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(19, 62, 39, 0.2);
}

/* Address Modal Cards */
.address-modal-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    background: #ffffff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.address-modal-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.address-modal-card.active {
    border-color: #133e27 !important;
    background-color: #f7fdf9 !important;
    box-shadow: 0 2px 10px rgba(19, 62, 39, 0.08) !important;
}

.address-modal-badge {
    background: #e8f5e9;
    color: #133e27;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
}

.address-modal-card .checkout-option-left {
    align-items: flex-start;
}

.address-modal-card .checkout-radio-circle {
    margin-top: 3px;
}

/* Alert Info Box */
.checkout-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fefce8;
    border: 1px solid #fef08a;
    color: #854d0e;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-top: 10px;
}

.checkout-alert-box i {
    font-size: 1rem;
    color: #ca8a04;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Summary Column (Sticky Right Card) */
.checkout-summary-column {
    width: 380px;
    flex-shrink: 0;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 130px !important;
    z-index: 20;
    align-self: flex-start;
}

.checkout-summary-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.checkout-summary-header {
    background: #133e27;
    padding: 1rem 1.25rem;
}

.checkout-summary-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.checkout-summary-body {
    padding: 1.25rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.checkout-summary-label {
    color: #64748b;
    font-weight: 500;
}

.checkout-summary-value {
    color: #1e293b;
    font-weight: 600;
}

.checkout-summary-divider {
    border-top: 1px solid #f1f5f9;
    margin: 1rem 0;
}

.checkout-summary-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.checkout-summary-total-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #133e27;
}

.btn-checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: #133e27;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.2);
    margin-top: 1.25rem;
}

.btn-checkout-submit:hover:not(:disabled) {
    background: #0d2c1c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(19, 62, 39, 0.25);
}

.btn-checkout-submit:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* Mobile Sticky Bottom Bar (Default Hidden di Layar Desktop) */
.checkout-mobile-sticky-bar {
    display: none;
}
/***** End Modern Checkout Page *****/

/***** Keranjang Page *****/

.fixed-bottom-summary {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important; /* Pastikan komponen ini berada di atas elemen lain */
}

/***** Cart Page Modern Lumajang Tulen (Matching Beranda & Detail Produk) *****/
.cart-page-wrapper {
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1.25rem 4rem !important;
    width: 100% !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.cart-header-title-box {
    margin-bottom: 1.75rem;
}

.cart-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.02em;
}

/* 2 Kolom Layout */
.cart-main-layout {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

.cart-items-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-summary-column {
    width: 380px;
    flex-shrink: 0;
    position: sticky;
    top: 130px;
    z-index: 20;
    align-self: flex-start;
}

/* Checkbox Custom Hijau */
.cart-custom-checkbox {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border-radius: 6px !important;
    border: 1.5px solid #cbd5e1 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 !important;
}

.cart-custom-checkbox:checked {
    background-color: #133e27 !important;
    border-color: #133e27 !important;
    box-shadow: 0 2px 6px rgba(19, 62, 39, 0.25) !important;
}

.cart-custom-checkbox:focus {
    box-shadow: 0 0 0 3px rgba(19, 62, 39, 0.15) !important;
    border-color: #133e27 !important;
}

/* Card Toko */
.cart-store-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.cart-store-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cart-store-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.cart-store-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eaf4ee;
    color: #133e27;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.cart-store-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-decoration: none;
}

.cart-store-name:hover {
    color: #133e27;
}

/* List Produk di Toko */
.cart-product-list {
    display: flex;
    flex-direction: column;
}

.cart-product-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    transition: background-color 0.15s ease;
}

.cart-product-item:hover {
    background-color: #fafcfb;
}

.cart-product-item:last-child {
    border-bottom: none;
}

.cart-product-checkbox-wrap {
    padding-top: 2px;
}

.cart-product-thumb {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cart-product-info {
    flex: 1;
    min-width: 0;
}

.cart-product-store-sublabel {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 2px;
    display: block;
}

.cart-product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

/* Baris Aksi Produk: Stepper Kuantitas & Tombol Hapus */
.cart-product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-delete-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.38rem 1rem;
    border-radius: 9999px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-cart:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

/* Footer Toko (Subtotal) */
.cart-store-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: #fbfcfc;
    border-top: 1px solid #f1f5f9;
}

.cart-store-subtotal-label {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
}

.cart-store-subtotal-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Ringkasan Pesanan (Sticky Right Card) */
.cart-summary-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.cart-summary-header {
    background: #133e27;
    padding: 1rem 1.25rem;
}

.cart-summary-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.cart-summary-body {
    padding: 1.25rem;
}

.cart-summary-items {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.summary-item-name {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.summary-item-price {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.cart-summary-divider {
    border-top: 1px solid #f1f5f9;
    margin: 1rem 0;
}

.cart-summary-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.cart-summary-total-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #133e27;
}

.btn-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: #133e27;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.2);
}

.btn-cart-checkout:hover:not(.disabled) {
    background: #0d2c1c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(19, 62, 39, 0.25);
}

.btn-cart-checkout.disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Mobile Sticky Checkout Bar (Default Hidden di Layar Desktop) */
.cart-mobile-sticky-bar {
    display: none;
}

/* Empty State */
.cart-empty-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    padding: 4rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.cart-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eaf4ee;
    color: #133e27;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.btn-cart-empty-shop,
.cart-empty-box a.btn-success,
.cart-empty-box a.btn-start-shopping {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 32px !important;
    border-radius: 9999px !important;
    background-color: #133e27 !important;
    border: 1px solid #133e27 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(19, 62, 39, 0.22) !important;
    letter-spacing: -0.01em !important;
}

.btn-cart-empty-shop:hover,
.cart-empty-box a.btn-success:hover,
.cart-empty-box a.btn-start-shopping:hover {
    background-color: #0d2c1c !important;
    border-color: #0d2c1c !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(19, 62, 39, 0.3) !important;
}

.btn-cart-empty-shop:active,
.cart-empty-box a.btn-success:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(19, 62, 39, 0.2) !important;
}

/* Skeleton Loading */
.cart-skeleton-store {
    height: 220px;
    border-radius: 16px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border: 1px solid #edf2f7;
}

/***** End Keranjang Page *****/

/***** Riwayat Transaction Page *****/

.transaction-history-search {
    max-width: 100% !important;
}

.transaction-history-container {
    border-radius: 10px;
}

.transaction-history-button a {
    width: 200px;
    color: #5d7f5a;
}

.transaction-history-content img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.transaction-history-button button {
    width: 200px;
    font-weight: normal;
}

.button-hubungi-penjual button {
    background-color: rgba(93, 127, 90, 0.4) !important;
}

.button-beli-lagi button {
    background-color: #5d7f5a !important;
}

/***** Riwayat Transaction Page *****/

/***** Manajemen Address Page *****/

.profile-card-alamat {
    margin: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.profile-card-alamat .card-header {
    background-color: #f6f6f6;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.profile-card-alamat .card-header a {
    color: #6c757d;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.profile-card-alamat .card-header a.active {
    background-color: #ffffff;
    color: #5b7f5a;
    font-weight: 500;
    background-color: transparent;
}

.profile-card-alamat .card-header a:hover {
    background-color: #e9ecef;
}

.btn-add-address {
    background-color: #5b7f5a !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 400;
    margin: 15px 0;
    width: auto;
    display: inline-block;
}

.btn-add-address:hover {
    background-color: #4e6d4e;
    color: #ffffff;
}

.address-card {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.address-card:first-child {
    background-color: #e0ebe0;
}

.address-info {
    padding-left: 10px;
}

.address-info span {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.badge-primary {
    display: inline-block !important;
    background-color: #ddd;
    color: #333;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.address-actions i {
    color: #5b7f5a;
    margin-left: 10px;
    cursor: pointer;
}

.address-actions i:hover {
    color: #4e6d4e;
}

.modal-header-alamat {
    border-bottom: none;
}

.modal-footer-alamat {
    border-top: none;
}

.modal-title-alamat {
    font-size: 20px;
    font-weight: 500;
}

.btn-save {
    background-color: #5b7f5a;
    color: #fff;
}

.btn-save:hover {
    background-color: #4e6d4e;
}

.form-control:focus {
    border-color: #5b7f5a;
    box-shadow: none;
}

.input-location input[type="text"] {
    padding-left: 10px !important;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

/***** End Manajemen Address Page *****/

/***** Profile Store Page *****/

.store-profile-carousel img {
    object-fit: cover;
    object-position: center;
    height: 400px;
    width: 100%;
}

.profile-card-store {
    margin: auto;
    overflow: hidden;
}

.profile-card-store .card-header {
    background-color: #f6f6f6;
    padding: 15px 20px;
    font-size: 18px;
}

.profile-card-store .profile-img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 150px;
    font-size: 20px;
    color: white;
}

.profile-card-store .profile-img p {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    text-align: center;
}

.profile-card-store h4 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.profile-card-store .profile-info .row {
    margin-bottom: 10px;
}

.profile-card-store .profile-info label {
    font-weight: bold;
    color: #333;
}

.profile-card-store .profile-info p {
    margin: 0;
    color: #6c757d;
}

.profile-card-store .btn {
    width: 150px;
    margin-bottom: 20px;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    color: white;
    background-color: #5b7f5a;
    border-color: #6c757d;
}

.store-product-card {
    transition: all 0.3s;
}

.store-product-card:hover {
    transform: scale(1.01);
    box-shadow: 0px 4px 8px rgba(34, 31, 31, 0.2) !important;
}

/***** End Profile Store Page *****/

/***** List Store Page*****/

.store-card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 95%;
    background-color: #ffffff !important;
}

.skeleton-store {
    background-color: #eee;
    border-radius: 10px;
    height: 227px;
    width: 95%;
    position: relative;
    overflow: hidden;
}

.skeleton-store::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.2s infinite;
}

.store-card p {
    font-size: 14px;
}

.store-card small {
    font-size: 12px;
}

.store-image {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.store-products a {
    width: 120px;
}

.store-products img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.visit-store {
    white-space: nowrap;
    height: 30px;
    background-color: #5b7f5a;
    color: white;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: auto;
}
.visit-store:hover {
    background-color: #688e65;
    text-decoration: none;
    color: white;
}
.product-info {
    font-size: 12px;
}
.store-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.store-header img {
    margin-right: 10px;
}

/***** End List Store Page *****/

/***** Profile Pembeli *****/

.card-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f6f6f6;
    border-bottom: 1px solid #dee2e6;
}

.card-header a {
    text-decoration: none;
    color: #6c757d;
    padding: 5px 10px;
}

.card-header a.active {
    color: #5b7f5a;
}

/***** Profile Pembeli & Alamat Modern Lumajang Tulen (Matching Beranda & Design Mockup) *****/
.profile-page-wrapper {
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 15px 1.25rem 3.5rem !important;
    width: 100% !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Open Tabs Bar (Matching Screenshot 2) */
.profile-tabs-header {
    border-bottom: 1.5px solid #e2e8f0;
    width: 100%;
    margin-bottom: 1.75rem;
}

.profile-nav-tabs {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 0 -1.5px 0;
}

.profile-nav-tab {
    display: inline-block;
    padding: 0.65rem 0.25rem 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-nav-tab:hover {
    color: #133e27;
}

.profile-nav-tab.active {
    color: #133e27;
    border-bottom-color: #133e27;
    font-weight: 700;
}

/* Two-Card Layout Containers */
.profile-sidebar-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 2.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.profile-main-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .profile-main-card {
        padding: 1.5rem 1.25rem;
    }
}

.profile-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.75rem;
}

/* Profile Photo Circular Box (150px Matching Screenshot 2) */
.profile-buyer-avatar-box {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 3px solid #e2e8f0 !important;
    box-shadow: 0 6px 20px rgba(19, 62, 39, 0.08) !important;
    background: #f8fafc !important;
    margin: 0 auto 1.25rem !important;
    display: block !important;
    position: relative !important;
}

.profile-buyer-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.profile-sidebar-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 1rem;
}

/* Photo Button & Specifications */
.btn-buyer-photo-pill {
    background-color: #ecf3ee !important;
    color: #133e27 !important;
    border: 1px solid #c2dbcc !important;
    border-radius: 50px !important;
    padding: 0.55rem 2.25rem !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn-buyer-photo-pill:hover {
    background-color: #dbebe0 !important;
    color: #0d2d1c !important;
    border-color: #133e27 !important;
}

.profile-photo-specs {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Form Inputs & Labels */
.profile-form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.45rem;
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.profile-form-input,
.profile-main-card .form-control,
.profile-main-card .form-select,
.modal-alamat .form-control,
.modal-alamat .form-select {
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 0.92rem;
    padding: 0.65rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.profile-form-textarea,
.profile-main-card textarea.form-control,
.modal-alamat textarea.form-control {
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.profile-main-card .form-control:focus,
.profile-main-card .form-select:focus,
.profile-main-card textarea.form-control:focus,
.modal-alamat .form-control:focus,
.modal-alamat .form-select:focus,
.modal-alamat textarea.form-control:focus {
    background-color: #ffffff;
    border-color: #133e27;
    box-shadow: 0 0 0 3px rgba(19, 62, 39, 0.12);
    outline: none;
}

.profile-main-card .form-control[readonly] {
    background-color: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

/* Pill Buttons matching Screenshot 2 */
.btn-pill-primary-green {
    background-color: #133e27 !important;
    color: #ffffff !important;
    border: 1px solid #133e27 !important;
    border-radius: 50px !important;
    padding: 0.65rem 2.25rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none !important;
}

.btn-pill-primary-green:hover {
    background-color: #0d2d1c !important;
    border-color: #0d2d1c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(19, 62, 39, 0.25) !important;
}

.btn-pill-outline-secondary {
    background-color: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 50px !important;
    padding: 0.65rem 1.85rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none !important;
}

.btn-pill-outline-secondary:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

/* Ensure d-none always hides buttons */
.btn-pill-primary-green.d-none,
.btn-pill-outline-secondary.d-none,
.btn-tambah-data.d-none,
.btn-ubah-data.d-none {
    display: none !important;
}

/* Tombol Pin Berdasarkan Alamat (Theme-aligned) */
.btn-pin-map {
    background-color: #ecf3ee !important;
    color: #133e27 !important;
    border: 1.5px solid #c2dbcc !important;
    border-radius: 50px !important;
    padding: 0.45rem 1.25rem !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn-pin-map:hover {
    background-color: #133e27 !important;
    color: #ffffff !important;
    border-color: #133e27 !important;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.2) !important;
}

.btn-pin-map:hover i {
    color: #ffffff !important;
}

/* Location Search Bar in Map */
.location-search-input {
    height: 48px !important;
    border-radius: 12px 0 0 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-right: none !important;
    background-color: #f8fafc !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #1e293b !important;
}

.location-search-input:focus {
    background-color: #ffffff !important;
    border-color: #133e27 !important;
    box-shadow: none !important;
}

.location-search-btn {
    height: 48px !important;
    border-radius: 0 12px 12px 0 !important;
    background-color: #133e27 !important;
    border: 1.5px solid #133e27 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    padding: 0 1.5rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.location-search-btn:hover {
    background-color: #0d2d1c !important;
    border-color: #0d2d1c !important;
    color: #ffffff !important;
}

/* Modal Backdrop Blur & Tulen Modern Modals */
.modal-backdrop.show {
    background-color: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.modal.tulen-modal.show {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tulen-modal .modal-content {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden !important;
    padding: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.tulen-modal .modal-header {
    padding: 1.25rem 1.75rem !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    background: #fafafa !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Close Button visible, crisp, properly placed inside modal header */
.tulen-modal .btn-close,
.tulen-modal .modal-header .btn-close,
.modal.tulen-modal .btn-close,
.modal.tulen-modal .modal-header .btn-close,
html:not([dir=rtl]) .modal.tulen-modal .btn-close,
html:not([dir=rtl]) .modal.tulen-modal .modal-header .btn-close {
    position: static !important;
    transform: none !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    background-color: #f1f5f9 !important;
    opacity: 0.9 !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L4 12' stroke='%231e293b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 4L12 12' stroke='%231e293b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px 14px !important;
}

.tulen-modal .btn-close:hover,
.tulen-modal .modal-header .btn-close:hover,
.modal.tulen-modal .btn-close:hover,
.modal.tulen-modal .modal-header .btn-close:hover,
html:not([dir=rtl]) .modal.tulen-modal .btn-close:hover,
html:not([dir=rtl]) .modal.tulen-modal .modal-header .btn-close:hover {
    transform: none !important;
    opacity: 1 !important;
    background-color: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}

.tulen-modal .modal-body {
    padding: 1.5rem !important;
}

.tulen-modal .modal-footer {
    padding: 1.15rem 1.75rem !important;
    border-top: 1.5px solid #f1f5f9 !important;
    background: #fafafa !important;
}

.crop-toolbar-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    margin: 14px 0 6px 0 !important;
    width: 100% !important;
}

.crop-toolbar-btn {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #133e27;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.crop-toolbar-btn:hover {
    background: #eaf2ed !important;
    border-color: #133e27 !important;
    color: #133e27 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.15) !important;
}

.crop-toolbar-btn i {
    color: #133e27 !important;
    font-size: 1.05rem !important;
}

.crop-modal-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 1.15rem 1.75rem !important;
    width: 100% !important;
}

.crop-modal-footer .btn-crop-cancel {
    flex: 1 1 40% !important;
    width: auto !important;
    padding: 0.65rem 1rem !important;
    justify-content: center !important;
    text-align: center !important;
}

.crop-modal-footer .btn-crop-apply {
    flex: 1 1 60% !important;
    width: auto !important;
    padding: 0.65rem 1.25rem !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Address Cards modern styling */
.address-card-modern {
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.2s ease;
}

.address-card-modern:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.address-card-modern.is-primary {
    background-color: #f4f9f5;
    border-color: #a3d9b8;
}

.badge-address-primary {
    background-color: #133e27;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.address-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.address-action-icon-btn,
.address-action-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 0 !important; /* Mencegah pelebaran teks loading saat api helper dipanggil */
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    text-decoration: none;
    line-height: 1;
}

.address-action-icon-btn i,
.address-action-btn i {
    font-size: 0.92rem !important;
    transition: transform 0.15s ease;
}

.address-action-icon-btn:hover i,
.address-action-btn:hover i {
    transform: scale(1.12);
}

.address-action-icon-btn.btn-edit,
.address-action-btn.btn-edit {
    background-color: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.address-action-icon-btn.btn-edit:hover,
.address-action-btn.btn-edit:hover {
    background-color: #334155;
    color: #ffffff;
    border-color: #334155;
    box-shadow: 0 4px 10px rgba(51, 65, 85, 0.2);
}

.address-action-icon-btn.btn-delete,
.address-action-btn.btn-delete {
    background-color: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.address-action-icon-btn.btn-delete:hover,
.address-action-btn.btn-delete:hover {
    background-color: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.address-action-icon-btn.btn-set-primary,
.address-action-btn.btn-set-primary {
    background-color: #ebf3ee;
    color: #133e27;
    border-color: #b8d5c2;
}

.address-action-icon-btn.btn-set-primary:hover,
.address-action-btn.btn-set-primary:hover {
    background-color: #133e27;
    color: #ffffff;
    border-color: #133e27;
    box-shadow: 0 4px 10px rgba(19, 62, 39, 0.2);
}

/* Cropper Circular Guide */
.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

/* Responsive Modern Modals for Mobile (< 768px & < 576px) */
@media (max-width: 767.98px) {
    .modal.tulen-modal .modal-dialog,
    .modal-alamat.modal-dialog {
        margin: 0.75rem auto !important;
        max-width: calc(100% - 1.5rem) !important;
        width: calc(100% - 1.5rem) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .modal.tulen-modal .modal-dialog,
    .modal-alamat.modal-dialog {
        margin: 0.5rem auto !important;
        max-width: calc(100% - 1rem) !important;
        width: calc(100% - 1rem) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tulen-modal .modal-content {
        border-radius: 16px !important;
    }

    .tulen-modal .modal-header,
    .modal-alamat .modal-header {
        padding: 0.95rem 1.1rem !important;
    }

    .tulen-modal .modal-header .modal-title,
    .modal-alamat .modal-header .modal-title {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }

    .tulen-modal .modal-header p,
    .modal-alamat .modal-header p {
        font-size: 0.8rem !important;
        color: #64748b !important;
        line-height: 1.35 !important;
    }

    .tulen-modal .btn-close,
    .tulen-modal .modal-header .btn-close,
    .modal.tulen-modal .btn-close,
    .modal.tulen-modal .modal-header .btn-close {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        background-size: 12px 12px !important;
        flex-shrink: 0 !important;
    }

    .tulen-modal .modal-body,
    .modal-alamat .modal-body {
        padding: 1rem 1.1rem !important;
    }

    .modal-alamat .profile-form-label {
        font-size: 0.84rem !important;
        margin-bottom: 0.35rem !important;
    }

    .modal-alamat .form-control,
    .modal-alamat .form-select,
    .modal-alamat .profile-form-input,
    .modal-alamat .select2-container--default .select2-selection--single {
        height: 44px !important;
        font-size: 0.86rem !important;
        border-radius: 10px !important;
        padding: 0.5rem 0.85rem !important;
    }

    .modal-alamat .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 44px !important;
    }

    /* GPS Box & Toolbar */
    .modal-gps-box {
        padding: 0.85rem !important;
        border-radius: 12px !important;
    }

    .modal-gps-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .modal-gps-header .profile-form-label {
        margin-bottom: 0 !important;
        font-size: 0.84rem !important;
    }

    .btn-pin-map {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.55rem 1rem !important;
        font-size: 0.82rem !important;
        border-radius: 10px !important;
    }

    .location-search-input {
        height: 42px !important;
        font-size: 0.82rem !important;
        border-radius: 10px 0 0 10px !important;
        padding: 0.45rem 0.75rem !important;
    }

    .location-search-btn {
        height: 42px !important;
        font-size: 0.82rem !important;
        border-radius: 0 10px 10px 0 !important;
        padding: 0 0.9rem !important;
    }

    #map {
        height: 220px !important;
        border-radius: 10px !important;
    }

    #map .gm-style button,
    #map .gm-style .gm-control-active {
        border-radius: 6px !important;
    }

    .modal-gps-box .input-group-sm .input-group-text {
        font-size: 0.72rem !important;
        padding: 0.2rem 0.45rem !important;
    }

    .modal-gps-box .input-group-sm .form-control {
        font-size: 0.75rem !important;
        padding: 0.2rem 0.45rem !important;
        height: 32px !important;
    }

    /* Modal Actions Footer Buttons on Mobile */
    .modal-actions-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 0.5rem !important;
        padding: 0.85rem 0 0 0 !important;
        margin-top: 0.5rem !important;
        width: 100% !important;
    }

    .tulen-modal .modal-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 0.5rem !important;
        padding: 0.85rem 1.1rem !important;
        width: 100% !important;
    }

    .modal-actions-footer .btn-modal-cancel,
    .modal-actions-footer .btn-pill-outline-secondary,
    .tulen-modal .modal-footer .btn-pill-outline-secondary,
    .crop-modal-footer .btn-crop-cancel {
        flex: 1 1 35% !important;
        width: auto !important;
        padding: 0.65rem 0.5rem !important;
        font-size: 0.88rem !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 50px !important;
    }

    .modal-actions-footer .btn-modal-submit:not(.d-none),
    .modal-actions-footer .btn-pill-primary-green:not(.d-none),
    .tulen-modal .modal-footer .btn-pill-primary-green:not(.d-none),
    .crop-modal-footer .btn-crop-apply {
        flex: 2 1 65% !important;
        width: auto !important;
        padding: 0.65rem 0.75rem !important;
        font-size: 0.88rem !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        border-radius: 50px !important;
    }

    /* Crop Modal Mobile Toolbar & Footer Single Row */
    .crop-toolbar-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        margin: 10px 0 4px 0 !important;
        width: 100% !important;
    }

    .crop-toolbar-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .crop-toolbar-btn i {
        font-size: 0.95rem !important;
    }

    .crop-modal-footer,
    #modalCropPhoto .modal-footer,
    #cropModal .modal-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 0.85rem 1.1rem !important;
        width: 100% !important;
    }

    /* Address Actions Mobile Optimization */
    .address-card-header {
        align-items: center !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.65rem !important;
    }

    .address-card-actions {
        gap: 6px !important;
    }

    .address-action-icon-btn,
    .address-action-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }

    .address-action-icon-btn i,
    .address-action-btn i {
        font-size: 0.82rem !important;
    }

    /* Cart Toast Notification on Mobile - Sembunyikan tombol silang */
    .swal2-container.swal2-top-end,
    .swal2-container.swal2-top-right {
        top: 0.75rem !important;
        right: 0.75rem !important;
        left: auto !important;
        width: auto !important;
        max-width: 75vw !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    .swal2-popup.tulen-cart-toast-popup {
        width: -moz-max-content !important;
        width: -webkit-max-content !important;
        width: max-content !important;
        max-width: 75vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 10px 16px 10px 12px !important;
        border-radius: 50px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    .swal2-popup.tulen-cart-toast-popup .swal2-html-container {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        grid-column: unset !important;
        font-size: 0.78rem !important;
        flex: 1 1 auto !important;
        text-align: left !important;
    }

    .tulen-cart-toast-popup .swal2-close,
    .tulen-cart-toast-close,
    .swal2-popup.swal2-toast .swal2-close {
        display: none !important;
    }

    .tulen-cart-toast-content {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        padding-right: 0 !important;
        gap: 8px !important;
        flex: 1 1 auto !important;
    }

    .tulen-cart-toast-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0 !important;
    }

    .tulen-cart-toast-title {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        hyphens: none !important;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 0% !important;
        display: block !important;
        text-align: left !important;
    }

    /* Store Card on Product Detail Page (Mobile: Sembunyikan tombol Kunjungi Toko) */
    .store-detail-action-wrap,
    .store-detail-card .btn-visit-store-detail,
    #visit-store {
        display: none !important;
    }

    .store-detail-card {
        padding: 14px 16px !important;
    }

    .store-detail-left {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }
}

/***** End Profile Pembeli & Alamat Modern *****/

/***** Notifikasi page *****/
.profile-card-notifikasi {
    margin: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.profile-card-notifikasi .card-header {
    background-color: #f6f6f6;
    padding: 15px 20px;
    font-size: 18px;
}

.profile-card-notifikasi .profile-img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 150px;
    font-size: 20px;
    color: white;
}

.profile-card-notifikasi .profile-img p {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    text-align: center;
}

.profile-card-notifikasi h4 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.profile-card-notifikasi .profile-info .row {
    margin-bottom: 10px;
}

.profile-card-notifikasi .profile-info label {
    font-weight: bold;
    color: #333;
}

.profile-card-notifikasi .profile-info p {
    margin: 0;
    color: #6c757d;
}

.profile-card-notifikasi .btn {
    width: 150px;
    margin-bottom: 20px;
}

/***** Halaman Notifikasi Modern Lumajang Tulen (Matching Beranda & Biodata) *****/
.notifikasi-page-wrapper {
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1.25rem 3.5rem !important;
    width: 100% !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.notif-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.notif-header-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.02em;
}

.btn-mark-all-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.35rem;
    border-radius: 9999px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-mark-all-read:hover {
    background-color: #133e27;
    border-color: #133e27;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.15);
}

.btn-mark-all-read:active {
    transform: scale(0.98);
}

.btn-mark-all-read.disabled,
.btn-mark-all-read:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

/* Filter Box Container */
.notif-filter-section {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 1.5rem;
}

/* Upper Filter: Status Baca Pills */
.notif-status-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notif-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.notif-pill-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.notif-pill-btn.active {
    background: #133e27;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(19, 62, 39, 0.2);
}

/* Lower Filter: Category Dropdown (Matching Katalog Produk) */
.notif-type-filter-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.notif-category-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.notif-filter-dropdown {
    position: relative !important;
    display: inline-block !important;
}

.notif-filter-dropdown .btn-sort-pill {
    min-width: 240px !important;
    justify-content: space-between !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.88rem !important;
}

.notif-filter-dropdown .catalog-sort-menu {
    left: 0 !important;
    right: auto !important;
    min-width: 260px !important;
    max-height: 320px !important;
    overflow-y: auto !important;
}

/* List & Cards */
.notif-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.notif-card-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    gap: 1.25rem;
}

.notif-card-modern:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.notif-card-left {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    flex: 1;
    min-width: 0;
}

/* Circular Avatar Icon - Container Lingkaran Hijau Semua */
.notif-avatar-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #133e27;
    font-size: 1.05rem;
    box-shadow: 0 2px 6px rgba(19, 62, 39, 0.12);
    transition: all 0.2s ease;
}

/* Card Body Typography */
.notif-card-body {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: 0.98rem;
    margin: 0 0 0.3rem 0;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.notif-item-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 0.45rem 0;
    word-break: break-word;
    transition: color 0.2s ease;
}

.notif-item-time {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

/* Status Belum Dibaca: Warna Teks Tegas, Ikon Segar */
.notif-card-modern.is-unread .notif-item-title {
    color: #0f172a;
    font-weight: 700;
}

.notif-card-modern.is-unread .notif-item-desc {
    color: #334155;
    font-weight: 500;
}

.notif-card-modern.is-unread .notif-item-time {
    color: #64748b;
}

.notif-card-modern.is-unread .notif-avatar-icon {
    opacity: 1;
    background-color: #133e27;
}

/* Status Sudah Dibaca: Warna Teks & Ikon Lebih Pudar */
.notif-card-modern.is-read .notif-item-title {
    color: #94a3b8;
    font-weight: 500;
}

.notif-card-modern.is-read .notif-item-desc {
    color: #94a3b8;
    font-weight: 400;
}

.notif-card-modern.is-read .notif-item-time {
    color: #cbd5e1;
}

.notif-card-modern.is-read .notif-avatar-icon {
    opacity: 0.42;
    box-shadow: none;
}

.notif-card-modern.is-read .btn-notif-rincian {
    color: #94a3b8;
    border-color: #e2e8f0;
}

.notif-card-modern.is-read .btn-notif-rincian:hover {
    background: #133e27 !important;
    border-color: #133e27 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(19, 62, 39, 0.15) !important;
}

/* Right Action Button */
.notif-card-right {
    flex-shrink: 0;
}

.btn-notif-rincian {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.4rem;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-notif-rincian:hover {
    background: #133e27;
    border-color: #133e27;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(19, 62, 39, 0.15);
}

/* Skeleton Loading */
.notif-skeleton-card {
    height: 94px;
    border-radius: 16px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border: 1px solid #edf2f7;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Mobile View (< 768px) */
@media (max-width: 767.98px) {
    .notifikasi-page-wrapper {
        padding: 1rem 0.75rem 3rem !important;
    }

    .notif-header-box {
        margin-bottom: 1.25rem;
        gap: 0.75rem;
    }

    .notif-header-title {
        font-size: 1.35rem;
    }

    .btn-mark-all-read {
        padding: 0.45rem 1rem;
        font-size: 0.82rem;
    }

    .notif-filter-section {
        padding: 1rem;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }

    .notif-status-filter-group {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .notif-pill-btn {
        padding: 0.45rem 1rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .notif-type-filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .notif-filter-dropdown {
        width: 100% !important;
    }

    .notif-filter-dropdown .btn-sort-pill {
        width: 100% !important;
    }

    .notif-filter-dropdown .catalog-sort-menu {
        width: 100% !important;
        min-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .notif-card-modern {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        border-radius: 14px;
        gap: 0.85rem;
    }

    .notif-card-left {
        gap: 0.85rem;
        width: 100%;
    }

    .notif-avatar-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 0.95rem;
    }

    .notif-item-title {
        font-size: 0.92rem;
    }

    .notif-item-desc {
        font-size: 0.82rem;
        margin-bottom: 0.35rem;
    }

    .notif-item-time {
        font-size: 0.75rem;
    }

    .notif-card-right {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .btn-notif-rincian {
        padding: 0.35rem 1.15rem;
        font-size: 0.8rem;
    }
}

.modal-content {
    border-radius: 10px;
    padding: 20px;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-body img {
    border-radius: 5px;
}

.rating {
    color: #ffd700;
    margin-bottom: 10px;
}

.upload-box {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

.modal-footer .btn-outline-success {
    border-color: #5b7f5a !important;
    color: #5b7f5a !important;
}

.modal-footer .btn-outline-success:hover {
    background-color: #5b7f5a !important;
    color: white !important;
}

.form-check-input.bank-option {
    display: none;
}

.form-check-input {
    margin-top: 0;
    margin-right: 20px !important;
}

.form-check-label img {
    vertical-align: middle;
}

.dropzone {
    width: 100%;
    margin: 0 auto;
    border: none;
}

.dz-message {
    border: 2px dashed #5d7f5a;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
}
/***** End Notifikasi page *****/

/***** Profile OPD *****/

.card-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f6f6f6;
    border-bottom: 1px solid #dee2e6;
}

.card-header a {
    text-decoration: none;
    color: #6c757d;
    padding: 5px 10px;
}

.card-header a.active {
    color: #5b7f5a;
}

.profile-card-opd {
    margin: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.profile-card-opd .card-header {
    background-color: #f6f6f6;
    padding: 15px 20px;
    font-size: 18px;
}

.profile-card-opd .profile-img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 150px;
    font-size: 20px;
    color: white;
}

.profile-card-opd .profile-img p {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    text-align: center;
}

.profile-card-opd h4 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.profile-card-opd .profile-info .row {
    margin-bottom: 10px;
}

.profile-card-opd .profile-info label {
    color: #333;
}

.profile-card-opd .profile-info p {
    margin: 0;
    color: #6c757d;
}

.profile-card-opd .btn {
    width: 150px;
    margin-bottom: 20px;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    color: white;
    background-color: #5b7f5a;
    border-color: #6c757d;
}

.btn-success {
    background-color: #5b7f5a;
    border-color: #5b7f5a;
}

/***** End Profile OPD *****/

/***** Complaint Form Page *****/

.complaint-container {
    border-radius: 10px;
}

.complaint-input {
    border: 1.5px solid rgba(0, 0, 0, 0.5) !important;
}

.complaint-button button {
    border-radius: 10px !important;
}

/***** End Complaint Form Page *****/

/***** Review Page *****/

.checkbox-container {
    display: flex;
    margin-top: 8px;
    margin-bottom: 12px;
    gap: 10px;
}

.hidden-checkbox {
    display: none;
}

.checkbox-btn-review {
    display: inline-block;
}

.custom-btn {
    padding: 6px 12px;
    background-color: #e0e0e0;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #ddd;
}

.hidden-checkbox:checked + .custom-btn {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
}

/***** End Review Page *****/

@media screen and (max-width: 1025px) {
    .right-section {
        flex: 4;
    }
}

@media screen and (max-width: 1020px) {
    .detail-product-container {
        flex-direction: column;
    }

    .product img {
        width: 550px;
        height: 450px;
    }

    .gallery img {
        width: 180px;
    }

    /***** End Checkout Page *****/
}

@media screen and (max-width: 768px) {
    .left-section {
        display: none !important;
    }

    .skeleton {
        width: 181px;
        height: 285px;
    }

    .filter-mobile {
        display: block;
    }

    .product-wrapper {
        justify-content: center;
    }

    .filter-wrapper-mobile {
        display: block;
        position: fixed;
        top: 100%;
        z-index: 99;
        width: 100%;
        height: 100%;
        transition: 0.5s ease-in;
    }

    .filter-item {
        margin-left: 0px;
    }

    .filter-search {
        position: relative;
        margin-bottom: 10px;
    }

    .filter-search .search {
        padding-left: 30px;
    }

    .search-icon {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
    }

    .filter-item .btn-outline-secondary {
        padding: 12px 20px 12px 20px;
        transition: 0.2s;
    }

    .stars-container:hover {
        border: 1px solid #5d7f5a !important;
        color: #f2db0a !important;
        background-color: rgba(93, 127, 90, 0.1) !important;
    }

    .filter-item .btn-outline-secondary:hover {
        border: 1px solid #5d7f5a !important;
        color: #5d7f5a !important;
        background-color: rgba(93, 127, 90, 0.1) !important;
    }

    .filter-mobile-button {
        width: 100%;
        position: fixed;
        bottom: -100%;
        left: 0;
        transition: 0.5s ease-in;
    }

    .product-container {
        flex: 2;
        max-width: 310px;
    }

    .product img {
        width: 310px;
        height: 300px;
        object-fit: cover;
    }

    .gallery img {
        width: 100px;
        height: 100px;
        object-fit: cover;
    }
}

@media screen and (max-width: 820px) {
    /***** Detail Product Page *****/
    .store-container {
        flex-direction: column;
        align-items: center;
    }
    .store-info {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .store-stats {
        width: 100%;
        text-align: left;
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .store-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .store-divider {
        display: none;
    }

    .detail-store {
        flex-direction: column;
    }
    /***** End Detail Product Page *****/

    /***** Checkout Page *****/

    .checkout-change-alamat {
        display: inline;
        width: 100%;
        margin-top: 30px;
        text-align: center;
    }

    .checkout-change-alamat a {
        border: 1px solid #5d7f5a;
        width: 100% !important;
        padding: 6px 18px;
        transition: 0.3s;
    }

    .checkout-change-alamat a:hover {
        color: #5d7f5a !important;
        background-color: rgba(93, 127, 90, 0.1) !important;
        border: 1px solid #5d7f5a !important;
    }

    .checkout-pesanan {
        flex-direction: column;
    }

    /***** End Checkout Page *****/
}

@media screen and (max-width: 768px) {
    /***** Detail Product Page *****/

    .skeleton-product-image {
        width: 100%;
        height: 300px;
    }

    .skeleton-detail-image {
        width: 100px;
        height: 100px;
    }

    .skeleton-detail-small {
        width: 65px;
        height: 20px;
    }

    .skeleton-detail-large {
        width: 100%;
        height: 30px;
    }

    .skeleton-detail-price {
        width: 150px;
        height: 30px;
    }

    .skeleton-detail-button {
        width: 140px !important;
        height: 30px !important;
    }

    /***** End Detail Product Page *****/

    /***** Riwayat Transaction Page *****/

    .transaction-history-content {
        flex-direction: column;
    }

    .transaction-history-item {
        justify-content: end !important;
    }

    .transaction-history-button {
        justify-content: center !important;
    }

    .transaction-history-item-pesanan {
        text-align: end !important;
        margin-top: 8px !important;
    }

    /***** End Riwayat Transaction Page *****/

    /***** Profile Pembeli Page *****/

    .profil-pembeli-actions {
        flex-direction: column;
        align-items: center;
        gap: 5px !important;
        margin-top: 40px !important;
    }

    .profil-pembeli-actions button {
        width: 100% !important;
        height: 40px;
        margin-bottom: 10px !important;
    }

    /***** End Profile Pembeli Page *****/

    /***** Store Profile Page *****/

    .store-profile-carousel img {
        height: 400px;
        width: 100% !important;
    }

    /***** End Store Profile Page *****/

    /***** List Store Page*****/

    .store-card p {
        font-size: 16px;
    }

    .store-card small {
        font-size: 14px;
    }

    .store-image {
        width: 50px;
        height: 50px;
    }

    .store-products img {
        width: 100px;
        height: 100px;
    }
    .visit-store {
        background-color: #5b7f5a;
        color: white;
        padding: 5px 15px;
        text-decoration: none;
        border-radius: 5px;
        font-size: 12px;
    }
    .product-info {
        font-size: 14px;
    }

    /***** End List Store Page *****/
}

@media screen and (max-width: 575.98px) {
    .product-wrapper:not(.similar-products-wrapper):not(#similarProductWrapper) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    #similar-section .similar-products-wrapper,
    #similar-section .product-wrapper,
    #similarProductWrapper {
        display: block !important;
        width: 100% !important;
    }

    .similar-empty-card {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }

    .product-card {
        width: 100% !important;
    }

    .skeleton {
        width: 100% !important;
        height: 230px;
    }

    .product-card span {
        font-size: 14px !important;
    }
    .product-card p {
        font-size: 14px !important;
    }
    .product-card p:nth-child(2) {
        font-size: 10px !important;
    }
    .product-card .card-text {
        font-size: 8px !important;
    }

    .input-group .form-control {
        height: 40px;
        font-size: 10px;
        padding-left: 40px;
    }

    .input-group .form-control-feedback {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-48%);
        z-index: 2;
        font-size: 20px;
        display: block;
        width: 30px;
        height: 30px;
    }

    .input-group .search-button {
        font-size: 14px;
        font-weight: normal;
    }

    .breadcrumb-item {
        font-size: 14px;
    }

    .detail-product-container {
        flex-direction: column;
    }

    .product-container {
        flex: 2;
        max-width: 280px;
    }

    .detail-product-wrapper {
        flex: 2;
    }

    .product img {
        width: 280px;
        height: 300px;
        object-fit: cover;
    }

    .gallery img {
        width: 90px;
        height: 80px;
        object-fit: cover;
    }

    .detail-button button {
        font-size: 12px;
        padding: 10px 16px !important;
    }

    #btnAskProduct {
        font-size: 13px;
        padding: 10px 16px !important;
    }

    .buyer-image {
        width: 50px;
        height: 50px;
        border: 2px solid rgba(34, 31, 31, 0.7);
        object-fit: cover;
    }

    /***** Checkout Page Mobile (< 992px) *****/
    .checkout-page-wrapper {
        padding: 1rem 0.75rem 2.5rem !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-header-title-box {
        margin-bottom: 1.25rem !important;
    }

    .checkout-page-title {
        font-size: 1.35rem !important;
    }

    .checkout-main-layout {
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    .checkout-items-column {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Ringkasan Pesanan ditaruh di bawah di mobile, TIDAK sticky */
    .checkout-summary-column {
        display: block !important;
        width: 100% !important;
        position: static !important;
        top: auto !important;
        margin-top: 0.5rem !important;
        z-index: 1 !important;
    }

    .checkout-summary-card {
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
        width: 100% !important;
    }

    /* Hilangkan sticky bottom bar */
    .checkout-mobile-sticky-bar {
        display: none !important;
    }

    .checkout-address-body {
        padding-left: 0 !important;
        margin-top: 10px;
    }

    .checkout-card {
        padding: 1rem !important;
        border-radius: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-card-header {
        gap: 8px !important;
        margin-bottom: 1rem !important;
    }

    .checkout-card-title {
        font-size: 0.98rem !important;
    }

    .btn-change-address {
        padding: 5px 14px !important;
        font-size: 0.82rem !important;
        flex-shrink: 0 !important;
    }

    .checkout-product-item {
        gap: 10px !important;
        padding: 0.75rem 0 !important;
    }

    .checkout-product-thumb {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        border-radius: 10px !important;
    }

    .checkout-product-name {
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
    }

    .checkout-product-price-qty {
        font-size: 0.78rem !important;
    }

    .checkout-product-subtotal {
        font-size: 0.88rem !important;
    }

    .checkout-option-card {
        padding: 0.85rem 1rem !important;
        border-radius: 12px !important;
    }

    .checkout-option-title {
        font-size: 0.88rem !important;
    }

    .checkout-option-subtext {
        font-size: 0.78rem !important;
    }

    .checkout-option-price {
        font-size: 0.88rem !important;
    }
    /***** End Checkout Page Mobile *****/

    /***** Keranjang Page *****/

    /***** Keranjang Page Mobile (< 992px) *****/
    .cart-page-wrapper {
        padding: 1rem 0.75rem 6.5rem !important;
    }

    .cart-main-layout {
        flex-direction: column !important;
        gap: 1.25rem !important;
    }

    /* Di mobile, sembunyikan kolom ringkasan desktop dan tampilkan sticky bottom bar */
    .cart-summary-column {
        display: none !important;
    }

    .cart-mobile-sticky-bar {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
        border-top: 1px solid #e2e8f0 !important;
        z-index: 1030 !important;
        padding: 10px 16px !important;
    }

    .cart-mobile-sticky-inner {
        max-width: 1540px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .cart-mobile-total-wrap {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .cart-mobile-total-label {
        font-size: 0.75rem !important;
        color: #64748b !important;
        font-weight: 500 !important;
        line-height: 1.2;
    }

    .cart-mobile-total-price {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #133e27 !important;
        line-height: 1.3;
        white-space: nowrap;
    }

    .btn-cart-checkout-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 0.65rem 1.2rem !important;
        border-radius: 9999px !important;
        background: #133e27 !important;
        color: #ffffff !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: none !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 12px rgba(19, 62, 39, 0.2) !important;
        transition: all 0.2s ease;
    }

    .btn-cart-checkout-mobile:hover:not(.disabled) {
        background: #0d2c1c !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }

    .btn-cart-checkout-mobile.disabled {
        background: #cbd5e1 !important;
        color: #64748b !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
        box-shadow: none !important;
    }

    .cart-page-title {
        font-size: 1.35rem !important;
    }

    .cart-store-header {
        padding: 0.85rem 1rem !important;
        gap: 10px !important;
    }

    .cart-product-item {
        padding: 1rem !important;
        gap: 0.75rem !important;
    }

    .cart-product-thumb {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        border-radius: 10px !important;
    }

    .cart-product-title {
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
    }

    .cart-product-price {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .cart-product-actions {
        margin-top: 0.4rem !important;
        gap: 0.6rem !important;
    }

    .btn-delete-cart {
        padding: 0.3rem 0.75rem !important;
        font-size: 0.78rem !important;
    }

    .cart-store-footer {
        padding: 0.75rem 1rem !important;
    }

    .cart-store-subtotal-label {
        font-size: 0.82rem !important;
    }

    .cart-store-subtotal-amount {
        font-size: 0.92rem !important;
    }
    /***** End Keranjang Page Mobile *****/

    .address-card {
        background-color: #f8f9fa;
        padding: 15px 10px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .profile-card-alamat .row {
        padding: 10px !important;
    }

    .profile-card-alamat .card-header {
        padding: 10px !important;
    }

    .profile-card-alamat .card-header a {
        font-size: 14px;
        padding: 6px 10px;
    }

    /***** Transaction History Page *****/

    .transaction-history-container h4 {
        font-size: 16px !important;
    }

    .transaction-history-container h5 {
        font-size: 14px !important;
    }

    .transaction-history-container p {
        font-size: 12px !important;
    }

    .transaction-history-wrapper {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .transaction-history-toko {
        padding-left: 14px !important;
        padding-right: 14 !important;
    }

    .transaction-history-toko button {
        padding: 8px 30px !important;
        font-size: 12px !important;
    }

    .transaction-history-status {
        padding-left: 14px !important;
        padding-right: 14 !important;
    }

    .transaction-history-detail {
        flex-direction: column;
    }

    .transaction-history-content img {
        width: 100%;
        height: 100%;
    }

    /***** End Transaction History Page *****/

    /***** Notifikasi Page *****/

    .notif-action {
        text-align: left;
        margin-top: 10px;
    }
    .notif-card {
        flex-direction: column;
    }

    /***** End Notifikasi Page *****/

    /***** Store Profile Page *****/

    #storeCarousel img {
        height: 200px !important;
    }

    /***** End Store Profile Page *****/

    .address-info {
        padding-left: 5px;
    }

    .shipping-address-content h5 {
        font-size: 14px !important;
    }

    .shipping-address-content p {
        font-size: 10px !important;
    }

    /***** List Store Page*****/

    .store-card p {
        font-size: 12px;
    }

    .store-card small {
        font-size: 10px;
    }

    .store-image {
        width: 30px;
        height: 30px;
    }

    .store-products a {
        width: 80px;
    }

    .store-products img {
        width: 60px;
        height: 60px;
    }
    .visit-store {
        background-color: #5b7f5a;
        color: white;
        padding: 5px 10px;
        text-decoration: none;
        border-radius: 5px;
        font-size: 12px;
    }
    .product-info {
        font-size: 10px;
    }

    /***** End List Store Page *****/
}

@media screen and (max-width: 400px) {
    /***** Product Page *****/

    /***** End Product Page *****/

    /***** Detail Product Page *****/

    .skeleton-product-image {
        width: 100%;
        height: 250px;
    }

    .skeleton-detail-image {
        width: 80px;
        height: 80px;
    }

    .skeleton-detail-small {
        width: 65px;
        height: 20px;
    }

    .skeleton-detail-large {
        width: 100%;
        height: 30px;
    }

    .skeleton-detail-price {
        width: 150px;
        height: 20px;
    }

    .skeleton-detail-button {
        width: 100px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        height: 20px !important;
    }

    /***** End Detail Product Page *****/

    /***** Transaction History Page *****/

    .transaction-history-item {
        flex-direction: column !important;
    }

    /***** End Transaction History Page *****/

    /***** Store Profile Page *****/

    .store-product-card img {
        height: 100px !important;
    }

    .store-product-card i {
        font-size: 12px;
    }

    /***** End Store Profile Page *****/

    /***** Checkout Page *****/

    .checkout-pesanan-price {
        flex-direction: column !important;
    }

    /***** End Checkout Page *****/

    .product-container {
        flex: 2;
        max-width: 272px;
    }

    .detail-product-wrapper {
        flex: 2;
    }

    .product img {
        width: 272px;
        height: 250px;
        object-fit: cover;
    }

    .gallery img {
        width: 90px;
        height: 80px;
        object-fit: cover;
    }
}

/***** Lengkapi Profile Pembeli *****/

.check-icon {
    display: flex;
    font-size: 1.5rem;
    color: green;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    text-indent: 5px;
}

.form-group {
    justify-content: start;
}

.profile-upload-box {
    max-width: 320px;
    height: 180px;
    border: 2px dashed #746d6d;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

h5.fontlengkapi {
    font-weight: 600;
    font-size: 21.5px;
}
.dashed-box {
    text-align: center !important;
}
.dashed-box p {
    font-size: 12px;
    color: #b0b0b0;
    text-align: center !important;
    margin-top: 10px;
}

.form-group label {
    font-weight: 500;
}

.tombolsimpan {
    display: flex;
    justify-content: end;
}

button.btn-success {
    background-color: #5d7f5a;
}

button.btn-success:hover {
    background-color: rgb(59, 73, 45);
}

/***** End Lengkapi Profile Pembeli/OPD *****/

/***** Start Lengkapi Toko *****/
.step-wizard-list {
    background: #fff;
    color: #333;
    list-style-type: none;
    border-radius: 10px;
    display: flex;
    padding: 20px 10px;
    position: relative;
    z-index: 10;
    justify-content: space-between; /* Menambahkan agar item tersebar rata */
}

.step-wizard-item {
    padding: 0 20px;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 150px; /* Menurunkan min-width agar lebih responsif */
    position: relative;
}

.step-wizard-item + .step-wizard-item:after {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    background: #5d7f5a;
    width: 100%;
    height: 2px;
    transform: translateX(-50%);
    z-index: -10;
}

.progress-count {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: transparent;
}

.progress-count:after {
    content: "";
    height: 40px;
    width: 40px;
    background: #5d7f5a;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -10;
}

.progress-count:before {
    content: "";
    height: 10px;
    width: 20px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
}

.progress-label {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.current-item .progress-count:before,
.current-item ~ .step-wizard-item .progress-count:before {
    display: none;
}

.current-item ~ .step-wizard-item .progress-count:after {
    height: 10px;
    width: 10px;
}

.current-item ~ .step-wizard-item .progress-label {
    opacity: 0.5;
}

.current-item .progress-count:after {
    background: #fff;
    border: 2px solid #5d7f5a;
}

.current-item .progress-count {
    color: #5d7f5a;
}

/* Responsif untuk layar lebih kecil */
/* Tambahan untuk mengubah tampilan mobile menjadi vertikal */
@media (max-width: 767px) {
    .step-wizard-list {
        flex-direction: column; /* Mengubah arah menjadi kolom */
        align-items: center; /* Memusatkan item */
    }
    .step-wizard-item {
        display: none; /* Sembunyikan semua item */
        margin-bottom: 20px; /* Memberi jarak antara item */
        min-width: 100%; /* Membuat item melebar penuh */
        position: relative; /* Membuat item relatif terhadap garis */
    }
    .step-wizard-item.current-item {
        display: flex; /* Tampilkan hanya current item */
    }
    .progress-label {
        margin-top: 5px; /* Ubah jarak label */
    }
    ul.step-wizard-list {
        padding: 0;
        margin-bottom: 0;
    }

    .step-wizard-item + .step-wizard-item:after {
        content: none; /* Menghilangkan garis penghubung */
    }
}

/***** End Lengkapi Toko *****/

/***** Start Info Toko *****/
.profile-upload-box2 {
    max-width: 100%;
    height: 180px;
    border: 2px dashed #746d6d;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/***** End Info Toko *****/

/* ========================================================
   SweetAlert2 Compact Toast (Cart Notification)
   ======================================================== */

/* Container fix agar notif tidak terpotong di sisi kiri */
body.swal2-toast-shown .swal2-container,
div:where(.swal2-container).swal2-bottom-end,
div:where(.swal2-container).swal2-bottom-right,
div:where(.swal2-container).swal2-top-end,
div:where(.swal2-container).swal2-top-right {
    width: auto !important;
    max-width: 100vw !important;
    overflow: visible !important;
    padding: 16px 20px !important;
    pointer-events: none !important;
}

.swal2-popup.swal2-toast,
.swal2-popup.tulen-cart-toast-popup {
    position: relative !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 240px !important;
    max-width: 360px !important;
    padding: 12px 38px 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #d1e7dd !important; /* Outline tipis di semua sisi, tanpa garis tebal di kiri */
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.12) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    overflow: visible !important;
    pointer-events: all !important;
}

/* Sembunyikan ikon native bawaan SweetAlert jika menggunakan custom content */
.tulen-cart-toast-popup .swal2-icon {
    display: none !important;
}

.tulen-cart-toast-popup .swal2-html-container,
.swal2-popup.swal2-toast .swal2-html-container {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: left !important;
}

.tulen-cart-toast-content {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    text-align: left !important;
}

/* Ikon Ceklis Status di Sisi Kiri */
.tulen-cart-toast-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #eaf4ee !important;
    color: #1b4332 !important;
    border: 1px solid #a3d9b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
}

/* Judul: Cukup Berhasil Ditambahkan */
.tulen-cart-toast-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1b4332 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    word-break: normal !important;
}

/* Tombol Silang (×) di Pojok Kanan - Rata Atas Bawah (Sempurna di Tengah Vertikal) */
.tulen-cart-toast-popup .swal2-close,
.tulen-cart-toast-close,
.swal2-popup.swal2-toast .swal2-close {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 12px !important;
    margin: auto 0 !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    z-index: 10 !important;
}

.tulen-cart-toast-popup .swal2-close:hover,
.tulen-cart-toast-close:hover,
.swal2-popup.swal2-toast .swal2-close:hover {
    color: #1b4332 !important;
    transform: scale(1.15) !important;
}

.tulen-cart-toast-popup .swal2-close i,
.tulen-cart-toast-close i,
.swal2-popup.swal2-toast .swal2-close i {
    font-size: 13px !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Modal Konfirmasi Logout, Pembatalan & Hapus (Warna Merah untuk Ikon, Judul dan Tombol) */
.swal2-popup.swal-logout-modal .swal2-icon.swal2-warning,
.swal2-popup:not(.swal2-toast).swal-logout-modal .swal2-icon.swal2-warning,
.swal-logout-modal .swal2-icon.swal2-warning {
    border-color: #ef4444 !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.15) !important;
}

.swal2-popup.swal-logout-modal .swal2-icon.swal2-warning .swal2-icon-content,
.swal2-popup:not(.swal2-toast).swal-logout-modal .swal2-icon.swal2-warning .swal2-icon-content,
.swal-logout-modal .swal2-icon.swal2-warning .swal2-icon-content {
    color: #dc2626 !important;
}

.swal2-popup.swal-logout-modal .swal2-title,
.swal-logout-modal .swal2-title,
.swal-logout-modal #swal2-title,
.swal-logout-modal h2 {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.swal-logout-modal .swal2-confirm,
.swal-logout-modal .swal-logout-confirm-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}

.swal-logout-modal .swal2-confirm:hover,
.swal-logout-modal .swal-logout-confirm-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    background-color: #b91c1c !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/***** Modern Transaction Detail Page (Matching Lumajang Tulen Design System) *****/
.transaction-detail-page-wrapper {
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1.25rem 4rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Breadcrumb & Navigation */
.transaction-breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-transaction-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 9999px;
    border: 1.5px solid #133e27;
    background: #ffffff;
    color: #133e27;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-transaction-back:hover {
    background: #133e27;
    color: #ffffff;
}

.transaction-breadcrumb-wrap .breadcrumb {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.transaction-breadcrumb-wrap .breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.transaction-breadcrumb-wrap .breadcrumb a:hover {
    color: #133e27;
}

.transaction-breadcrumb-wrap .breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

/* Page Header Card */
.transaction-header-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.transaction-header-left {
    min-width: 0;
    flex: 1 1 auto;
}

.transaction-header-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.transaction-header-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.02em;
}

.transaction-invoice-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eaf4ee;
    color: #133e27;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(19, 62, 39, 0.15);
}

.transaction-header-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.transaction-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.transaction-header-total-box {
    text-align: right;
}

.transaction-header-total-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 2px;
}

.transaction-header-total-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #133e27;
    line-height: 1.2;
}

.btn-download-invoice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-download-invoice:hover {
    background: #ffffff;
    border-color: #133e27;
    color: #133e27;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.12);
}

/* Alert Container (Natural container look, no AI slop, no thick yellow left border) */
.transaction-status-alert {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.transaction-status-alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.transaction-status-alert-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eaf4ee;
    color: #133e27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.transaction-status-alert-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.transaction-status-alert-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.transaction-status-alert-notes {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    border: 1px solid #edf2f7;
    margin-top: 10px;
}

.transaction-status-alert-notes-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 6px;
}

.transaction-status-alert-notes ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    color: #334155;
}

.transaction-status-alert-notes li {
    margin-bottom: 4px;
}

/* Store PO Card / Group Wrapper */
.transaction-po-wrapper {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 2rem;
}

.transaction-po-header {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 1.15rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.transaction-po-store-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* Store Avatar matching detail product */
.store-detail-avatar-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #eaf4ee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b7dac9;
    flex-shrink: 0;
}

.store-detail-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-detail-avatar-wrap i {
    font-size: 1.35rem;
    color: #1b4332;
}

.store-avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    background: #1b4332 !important;
    text-transform: uppercase;
    user-select: none;
    letter-spacing: 0.5px;
    border-radius: 50%;
}

.store-detail-avatar-wrap .store-avatar-initial {
    font-size: 1.35rem;
    font-weight: 700;
}

.order-store-avatar .store-avatar-initial,
.order-po-avatar .store-avatar-initial {
    font-size: 0.85rem;
    font-weight: 700;
}

.transaction-po-store-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.transaction-po-badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trans-po-badge {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
}

.trans-status-badge {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
}

/* PO Body Cards */
.trans-inner-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 1.35rem;
    margin-bottom: 1.25rem;
}

.trans-inner-card:last-child {
    margin-bottom: 0;
}

.trans-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trans-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eaf4ee;
    color: #133e27;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Key-value details inside cards */
.trans-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.trans-info-item {
    font-size: 0.88rem;
}

.trans-info-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    display: block;
}

.trans-info-value {
    color: #1e293b;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.trans-info-value.bold-primary {
    color: #133e27;
    font-weight: 700;
}

/* Timeline Histori Transaksi (Clean Dot + Line, No Stretched Ovals) */
.trans-timeline {
    position: relative;
    padding: 4px 0 4px 4px;
}

.trans-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 1.35rem;
}

.trans-timeline-item:last-child {
    padding-bottom: 0;
}

.trans-timeline-line {
    position: absolute;
    top: 15px;
    bottom: -4px;
    left: 4px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.trans-timeline-item:last-child .trans-timeline-line {
    display: none;
}

.trans-timeline-dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
    min-height: 10px !important;
    max-height: 10px !important;
    border-radius: 50% !important;
    margin-top: 5px !important;
    flex: 0 0 10px !important;
    flex-shrink: 0 !important;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px rgba(19, 62, 39, 0.15) !important;
}

.trans-timeline-content {
    flex: 1;
    min-width: 0;
}

.trans-timeline-status {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.trans-timeline-time {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.3;
}

/* Modern Products Table */
.trans-table-wrap {
    border-radius: 12px;
    border: 1px solid #edf2f7;
    overflow: hidden;
    background: #ffffff;
}

.trans-product-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.trans-product-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1.5px solid #edf2f7;
    white-space: nowrap;
}

.trans-product-table td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.trans-product-table tr:last-child td {
    border-bottom: none;
}

.trans-product-thumb {
    width: 54px;
    height: 54px;
    min-width: 54px;
    max-width: 54px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #edf2f7;
    background: #f8fafc;
}

.trans-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.trans-product-qty {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
}

.trans-product-price {
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.trans-product-subtotal {
    font-size: 0.95rem;
    font-weight: 700;
    color: #133e27;
    white-space: nowrap;
}

/* Order Financial Summary Box */
.trans-summary-box {
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #edf2f7;
    max-width: 440px;
    margin-left: auto;
    margin-top: 1.25rem;
}

.trans-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #475569;
}

.trans-summary-row span:last-child {
    font-weight: 600;
    color: #1e293b;
}

.trans-summary-divider {
    border-top: 1px dashed #cbd5e1;
    margin: 12px 0;
}

.trans-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: #133e27;
}

.trans-summary-total-row span:last-child {
    font-size: 1.25rem;
    color: #133e27;
}

/* Payment Proof Notice */
.trans-payment-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.trans-payment-notice i {
    font-size: 1.2rem;
    color: #16a34a;
    flex-shrink: 0;
}

.trans-payment-notice.is-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.trans-payment-notice.is-warning i {
    color: #d97706;
}

.trans-payment-notice.is-muted {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.trans-payment-notice.is-muted i {
    color: #64748b;
}

/* Review Cards & Tag Styles (Senada Design System) */
.trans-badge-success {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #eaf4ee;
    color: #133e27;
    border: 1px solid #b7dac9;
}

.trans-review-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.trans-review-quote {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 10px 14px;
    color: #334155;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.5;
}

/* Modern Review Modal Checkbox Buttons */
.checkbox-btn-review .custom-btn {
    padding: 6px 14px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.checkbox-btn-review .custom-btn:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
}

.hidden-checkbox:checked + .custom-btn {
    background-color: #133e27;
    color: #ffffff;
    border-color: #133e27;
    box-shadow: 0 2px 6px rgba(19, 62, 39, 0.25);
}

/* Action Buttons in Transaction Page */
.trans-action-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-trans-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1.5px solid #1b4332;
    background: #1b4332;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.2);
}

.btn-trans-primary:hover {
    background: #143326;
    border-color: #143326;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.3);
    transform: translateY(-1px);
}

.btn-trans-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1.5px solid #1b4332;
    background: #ffffff;
    color: #1b4332 !important;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-trans-outline:hover {
    background: #1b4332;
    border-color: #1b4332;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
    transform: translateY(-1px);
}

.btn-trans-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    border: 1.5px solid #d97706;
    background: #f59e0b;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.btn-trans-warning:hover {
    background: #d97706;
    border-color: #b45309;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    transform: translateY(-1px);
}

.btn-trans-warning-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    border: 1.5px solid #f59e0b;
    background: #ffffff;
    color: #d97706 !important;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1);
}

.btn-trans-warning-outline:hover {
    background: #f59e0b;
    border-color: #d97706;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
    transform: translateY(-1px);
}

.btn-trans-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    border: 1.5px solid #ef4444;
    background: transparent;
    color: #ef4444 !important;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-trans-cancel:hover {
    background: #ef4444;
    color: #ffffff !important;
}

.btn-trans-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #334155 !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-trans-light:hover {
    background: #ffffff;
    border-color: #133e27;
    color: #133e27 !important;
}

/* Modal Modern Lumajang Tulen */
.modal.tulen-modal .modal-content {
    border-radius: 18px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
}

.modal.tulen-modal .modal-header {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.modal.tulen-modal .modal-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #133e27 !important;
    letter-spacing: -0.01em !important;
}

.modal.tulen-modal .modal-body {
    padding: 1.5rem !important;
}

.modal.tulen-modal .modal-footer {
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
}

.modal.tulen-modal .form-control,
.modal.tulen-modal .form-select {
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 9px 14px !important;
    font-size: 0.92rem !important;
    transition: all 0.2s ease !important;
}

.modal.tulen-modal .form-control:focus,
.modal.tulen-modal .form-select:focus {
    border-color: #133e27 !important;
    box-shadow: 0 0 0 3px rgba(19, 62, 39, 0.12) !important;
}

.modal.tulen-modal .btn-success {
    background-color: #133e27 !important;
    border-color: #133e27 !important;
    border-radius: 9999px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
}

.modal.tulen-modal .btn-success:hover {
    background-color: #0f311f !important;
    border-color: #0f311f !important;
}

.modal.tulen-modal .btn-secondary,
.modal.tulen-modal .btn-label-secondary {
    border-radius: 9999px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
}

/* Rate Products Modal Footer */
.rate-modal-footer {
    padding: 1rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    background: #ffffff !important;
}

.rate-modal-footer.d-none {
    display: none !important;
}

.btn-review-modal-cancel {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 24px !important;
    border-radius: 9999px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    height: 42px !important;
    text-decoration: none !important;
}

.btn-review-modal-cancel:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.btn-review-modal-save {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 9px 24px !important;
    border-radius: 9999px !important;
    border: 1.5px solid #133e27 !important;
    background: #133e27 !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(19, 62, 39, 0.2) !important;
    height: 42px !important;
    text-decoration: none !important;
}

.btn-review-modal-save:hover {
    background: #0f311f !important;
    border-color: #0f311f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.3) !important;
}

.btn-review-modal-edit {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 9px 24px !important;
    border-radius: 9999px !important;
    border: 1.5px solid #d97706 !important;
    background: #f59e0b !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25) !important;
    height: 42px !important;
    text-decoration: none !important;
}

.btn-review-modal-edit:hover,
.btn-review-modal-edit:focus {
    background: #d97706 !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35) !important;
    outline: none !important;
}

.btn-review-modal-save.d-none,
.btn-review-modal-cancel.d-none,
.btn-review-modal-edit.d-none,
.btn-edit-refund.d-none,
.btn-save-refund.d-none {
    display: none !important;
}

/* ========================================================
   Register Choice Modal (Modal Pilih Pendaftaran Akun)
   ======================================================== */
.modal-register-choice .modal-content {
    border-radius: 20px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 25px 60px rgba(19, 62, 39, 0.14) !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.modal-register-choice .modal-header {
    position: relative !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 2rem 2rem 1.25rem !important;
    background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%) !important;
    text-align: center !important;
    display: block !important;
}

.modal-register-choice .modal-header .btn-close,
.modal.modal-register-choice .modal-header .btn-close,
html:not([dir=rtl]) .modal.tulen-modal.modal-register-choice .modal-header .btn-close {
    position: absolute !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: 10 !important;
    transform: none !important;
    opacity: 0.8 !important;
    transition: background-color 0.15s ease, opacity 0.15s ease !important;
}

.modal-register-choice .modal-header .btn-close:hover,
.modal.modal-register-choice .modal-header .btn-close:hover,
html:not([dir=rtl]) .modal.tulen-modal.modal-register-choice .modal-header .btn-close:hover {
    transform: none !important;
    opacity: 1 !important;
    background-color: #e2e8f0 !important;
}

.register-brand-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(19, 62, 39, 0.08);
    border: 1px solid rgba(19, 62, 39, 0.12);
    padding: 6px;
}

.register-brand-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#registerModal .modal-title,
.modal.tulen-modal.modal-register-choice .modal-header .modal-title,
.modal.modal-register-choice .modal-title,
.modal-register-choice .modal-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #133e27 !important;
    letter-spacing: -0.025em !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.modal-register-choice .modal-body {
    padding: 1.75rem 2rem 2rem !important;
}

/* Choice Cards */
.register-choice-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #ffffff;
    border: 2px solid #edf2f7;
    border-radius: 18px;
    padding: 1.5rem;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.register-choice-card:hover {
    border-color: #1b4332;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(19, 62, 39, 0.1);
}

.register-choice-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.register-choice-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf4ee;
    color: #133e27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.register-choice-card:hover .register-choice-icon {
    background: #133e27;
    color: #ffffff;
    transform: scale(1.05);
}

#registerModal .register-choice-title-box h4,
.modal-register-choice .register-choice-title-box h4 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.register-choice-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.register-choice-desc {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.register-choice-features {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 1.5rem 0;
}

.register-choice-features li {
    font-size: 0.84rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.register-choice-features li i {
    color: #10b981;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.register-choice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 9999px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #1b4332;
    font-size: 0.86rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.register-choice-card:hover .register-choice-btn {
    background: #1b4332;
    border-color: #1b4332;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(19, 62, 39, 0.22);
}

.register-choice-footer {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.88rem;
    color: #64748b;
}

.register-choice-footer a {
    color: #1b4332;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.register-choice-footer a:hover {
    color: #0f311f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modal-register-choice .modal-header {
        padding: 1.75rem 1.25rem 1rem !important;
    }
    #registerModal .modal-title,
    .modal.tulen-modal.modal-register-choice .modal-header .modal-title,
    .modal-register-choice .modal-title {
        font-size: 1.25rem !important;
    }
    .modal-register-choice .modal-body {
        padding: 1.25rem 1rem 1.5rem !important;
    }
    .register-choice-card {
        padding: 1.25rem;
    }
    #registerModal .register-choice-title-box h4,
    .modal-register-choice .register-choice-title-box h4 {
        font-size: 0.98rem !important;
    }
}

/* ========================================================
   Dropzone Modern Lumajang Tulen (Card Preview & Cancel Button)
   ======================================================== */
.tulen-modal .dropzone,
.dropzone.tulen-dropzone {
    border: 1.5px dashed #b7dac9 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    padding: 1rem !important;
    transition: all 0.25s ease !important;
    min-height: auto !important;
    display: block;
}

.tulen-modal .dropzone.d-none,
.dropzone.tulen-dropzone.d-none,
#dropzone-basic-3.d-none,
#dropzone-basic-2.d-none,
#dropzone-basic.d-none,
#dropzone-refund-proof.d-none {
    display: none !important;
}

/* Ketika file sudah diunggah (has-file / max file tercapai), sembunyikan kotak seret file dan nonaktifkan klik area dropzone */
.dropzone.has-file,
.dropzone.dz-max-files-reached,
.tulen-modal .dropzone.has-file,
.tulen-modal .dropzone.dz-max-files-reached {
    pointer-events: none !important;
    border-style: solid !important;
    border-color: #e2e8f0 !important;
    background: #ffffff !important;
    cursor: default !important;
}

.dropzone.has-file .dz-message,
.dropzone.dz-max-files-reached .dz-message,
.tulen-modal .dropzone.has-file .dz-message,
.tulen-modal .dropzone.dz-max-files-reached .dz-message,
.dropzone.dz-started .dz-message {
    display: none !important;
}

/* Biarkan kartu preview dan tombol hapus tetap bisa diklik */
.dropzone.has-file .dz-preview,
.dropzone.dz-max-files-reached .dz-preview,
.dropzone.has-file .dz-preview-container,
.dropzone.dz-max-files-reached .dz-preview-container,
.dropzone.has-file .dz-remove,
.dropzone.dz-max-files-reached .dz-remove,
.dropzone.has-file [data-dz-remove] {
    pointer-events: auto !important;
}

.tulen-modal .dropzone:hover,
.dropzone.tulen-dropzone:hover {
    border-color: #133e27 !important;
    background: #f0fdf4 !important;
}

/* Dropzone Message Area (Upload placeholder) */
.tulen-modal .dropzone .dz-message,
.dropzone.tulen-dropzone .dz-message {
    margin: 0 !important;
    padding: 1.25rem 1rem !important;
    background: #ffffff !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 10px !important;
    color: #133e27 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-align: center !important;
}

.tulen-modal .dropzone .dz-message:hover,
.dropzone.tulen-dropzone .dz-message:hover {
    border-color: #133e27 !important;
    background: #f0fdf4 !important;
}

.tulen-modal .dropzone .dz-message i,
.dropzone.tulen-dropzone .dz-message i {
    color: #133e27 !important;
}

/* Previews Container */
.dz-preview-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    margin-bottom: 12px !important;
}

.dz-preview-container:empty {
    margin-bottom: 0 !important;
    display: none !important;
}

/* Modern File Preview Card */
.tulen-dropzone .dz-preview,
.tulen-modal .dz-preview {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    width: 124px !important;
    min-height: auto !important;
    margin: 4px !important;
    background: #ffffff !important;
    border: 1.5px solid #edf2f7 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    overflow: visible !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tulen-dropzone .dz-preview:hover,
.tulen-modal .dz-preview:hover {
    border-color: #133e27 !important;
    box-shadow: 0 4px 14px rgba(19, 62, 39, 0.12) !important;
    transform: translateY(-2px);
}

/* Thumbnail Area */
.tulen-dropzone .dz-thumbnail,
.tulen-modal .dz-thumbnail {
    position: relative !important;
    width: 100% !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 10px 10px 0 0 !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    border-bottom: 1px solid #edf2f7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tulen-dropzone .dz-thumbnail img,
.tulen-dropzone .dz-thumbnail > img,
.tulen-modal .dz-thumbnail img,
.tulen-modal .dz-thumbnail > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 10px 10px 0 0 !important;
}

/* Floating Remove Badge (Hidden) */
.dz-remove-badge {
    display: none !important;
}

/* File Info Box */
.dz-info-wrap {
    padding: 6px 8px 4px 8px !important;
}

.tulen-dropzone .dz-filename,
.tulen-modal .dz-filename {
    position: static !important;
    padding: 0 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    background: transparent !important;
}

.tulen-dropzone .dz-size,
.tulen-modal .dz-size {
    padding: 0 !important;
    font-size: 0.65rem !important;
    color: #64748b !important;
    text-align: center !important;
    margin-top: 1px !important;
    font-style: normal !important;
}

/* Cancel / Remove Button at Bottom */
.tulen-dropzone .dz-remove,
.tulen-modal .dz-remove,
.dropzone .dz-preview .dz-remove,
.dz-preview .dz-remove {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 4px 8px 8px 8px !important;
    padding: 4px 8px !important;
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fee2e2 !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.tulen-dropzone .dz-remove:hover,
.tulen-modal .dz-remove:hover,
.dropzone .dz-preview .dz-remove:hover,
.dz-preview .dz-remove:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
}

.tulen-dropzone .dz-error-message,
.tulen-modal .dz-error-message,
.dropzone .dz-preview .dz-error-message,
.dz-preview .dz-error-message {
    pointer-events: none !important;
}

.swal2-popup.tulen-cart-toast-popup.tulen-cart-toast-error,
.swal2-popup.swal2-toast.tulen-cart-toast-error {
    border: 1px solid #ef4444 !important;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15) !important;
}

.swal2-popup.tulen-cart-toast-popup.tulen-cart-toast-warning,
.swal2-popup.swal2-toast.tulen-cart-toast-warning {
    border: 1px solid #f59e0b !important;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15) !important;
}

/* Success Checkmark & Error Mark */
.tulen-dropzone .dz-success-mark,
.tulen-modal .dz-success-mark {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #133e27 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    z-index: 10 !important;
}

.tulen-dropzone .dz-error-mark,
.tulen-modal .dz-error-mark {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    z-index: 10 !important;
}

.tulen-dropzone .dz-preview .dz-error-mark svg,
.tulen-dropzone .dz-preview .dz-success-mark svg {
    display: none !important;
}

.tulen-dropzone .progress,
.tulen-modal .progress {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.tulen-dropzone .progress-bar,
.tulen-modal .progress-bar {
    background-color: #133e27 !important;
}

/* ========================================================
   Mobile Responsiveness for Transaction Detail (< 992px & < 768px)
   ======================================================== */
@media (max-width: 991px) {
    .transaction-detail-page-wrapper {
        padding: 1rem 0.75rem 3rem !important;
    }

    .transaction-header-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1.25rem !important;
        gap: 1rem !important;
    }

    .transaction-header-left {
        width: 100% !important;
        flex: none !important;
    }

    .transaction-header-title-row {
        margin-bottom: 0 !important;
    }

    .transaction-header-right {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px solid #f1f5f9 !important;
        padding-top: 1rem !important;
    }

    .transaction-header-total-box {
        text-align: left !important;
    }

    .trans-summary-box {
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .transaction-breadcrumb-wrap {
        gap: 10px !important;
        margin-bottom: 1rem !important;
    }

    .btn-transaction-back {
        padding: 5px 14px !important;
        font-size: 0.82rem !important;
    }

    .transaction-header-title {
        font-size: 1.25rem !important;
    }

    .transaction-invoice-badge {
        font-size: 0.78rem !important;
        padding: 3px 10px !important;
    }

    .transaction-header-subtitle {
        font-size: 0.82rem !important;
    }

    .transaction-header-total-val {
        font-size: 1.15rem !important;
    }

    .btn-download-invoice {
        padding: 7px 14px !important;
        font-size: 0.82rem !important;
    }

    .transaction-status-alert {
        padding: 1rem !important;
        gap: 12px !important;
        border-radius: 12px !important;
    }

    .transaction-status-alert-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
    }

    .transaction-status-alert-title {
        font-size: 0.95rem !important;
    }

    .transaction-status-alert-desc {
        font-size: 0.82rem !important;
    }

    .transaction-po-wrapper {
        border-radius: 14px !important;
    }

    .transaction-po-header {
        padding: 1rem !important;
    }

    .trans-inner-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    .trans-info-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .trans-product-table th,
    .trans-product-table td {
        padding: 10px 12px !important;
    }

    .trans-product-thumb {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }

    .trans-product-name {
        font-size: 0.88rem !important;
    }

    .trans-product-price,
    .trans-product-subtotal {
        font-size: 0.85rem !important;
    }

    .btn-trans-primary,
    .btn-trans-outline,
    .btn-trans-cancel,
    .btn-trans-light {
        width: 100% !important;
        padding: 9px 14px !important;
        font-size: 0.85rem !important;
    }

    .rate-modal-footer {
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 0.85rem 1rem !important;
        width: 100% !important;
    }

    .rate-modal-footer .btn-review-modal-cancel,
    .rate-modal-footer .btn-review-modal-save {
        flex: 1 1 0 !important;
        width: 50% !important;
        height: 42px !important;
        padding: 9px 12px !important;
        font-size: 0.85rem !important;
        margin: 0 !important;
    }
}
/***** End Modern Transaction Detail Page *****/



