body {
    font-family: "Nanum Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.text-orange {
    color: var(--bs-orange);
}

.navbar-nav .img-flag {
    border: 1px solid #aeaeae;
    filter: grayscale(100%);
}

.navbar-nav .img-flag.active {
    filter: grayscale(0%);
}

.navbar-nav .img-flag:hover {
    filter: grayscale(0%);
}

.img-logo {
    max-width: 100px;
    max-height: 100% !important;
}

.img-filter-white {
    filter: brightness(0) invert(1);
}

.countrypicker-md {
    display: inline-block;
}

@media(min-width: 1199px) {
    .countrypicker-md {
        width: 220px;
    }
}

.countrypicker .dropdown-toggle {
    width: fit-content;
}

.countrypicker .dropdown-menu {
    width: auto;
    min-width: auto;
}

.bootstrap-select>.dropdown-menu>.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 3px 1.5rem;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border: 0;
    text-decoration: none;
}

.bootstrap-select .dropdown-menu>li.active>a,
.bootstrap-select .dropdown-menu>li>a:focus {
    color: #fff !important;
    background: #337ab7 !important;
}

ul[class*="img-slider-"] li img {
    opacity: 0.5;
    filter: alpha(opacity=50);
    transition: 0.5s;
    filter: grayscale(1);
}

ul[class*="img-slider-"] li img:hover {
    opacity: 1.0;
    filter: alpha(opacity=100);
    transition: 0.5s;
    filter: grayscale(0);
}

.slick-slider {
    overflow: hidden;

    .slick-arrow {
        display: none !important;
    }

    &:hover {
        .slick-arrow {
            display: block !important;
        }
    }

    .slide {
        margin-right: 1rem;
    }

    .slick-track {
        margin: inherit;
        display: flex !important;
    }

    .slick-slide {
        height: inherit !important;
    }

    .slick-list {
        width: calc(100% + .750321rem);
    }
}

/* Override untuk product list slick - biar card hover tidak terpotong HANYA BAGIAN ATAS */
.product-list.slick-slider,
.best-sellers.slick-slider,
.vouchers-brand.slick-slider,
.vouchers-category.slick-slider {
    overflow: hidden !important;
    padding: 0 !important;
}

.product-list.slick-slider .slick-list,
.best-sellers.slick-slider .slick-list,
.vouchers-brand.slick-slider .slick-list,
.vouchers-category.slick-slider .slick-list {
    overflow: hidden !important;
    clip-path: inset(-30px 0 0 0);
    /* Allow overflow hanya di atas */
}

.product-list.slick-slider .slick-track,
.best-sellers.slick-slider .slick-track,
.vouchers-brand.slick-slider .slick-track,
.vouchers-category.slick-slider .slick-track {
    padding: 30px 0 10px 0 !important;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 25px;
}

.slick-prev,
.slick-next {
    z-index: 2;
    top: 50%;
}

.category .slick-prev,
.category .slick-next,
.brand .slick-prev,
.brand .slick-next {
    top: 40%;
}

.slick-prev:before,
.slick-next:before {
    top: 50%;
    position: absolute;
    font-size: 0;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    width: 32px;
    height: 32px;
    background-color: #fff;
    background-image: url(../img/arrow.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    border-radius: 50%;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    box-shadow: 0 1px 6px 0 rgba(49, 53, 59, 0.12);
}

.slick-prev:before {
    left: 0;
    -webkit-transform: translate(-50%, -50%) rotate(-90deg);
    -ms-transform: translate(-50%, -50%) rotate(-90deg);
    transform: translate(-50%, -50%) rotate(-90deg);
}

.slick-next:before {
    right: 0;
    -webkit-transform: translate(50%, -50%) rotate(90deg);
    -ms-transform: translate(50%, -50%) rotate(90deg);
    transform: translate(50%, -50%) rotate(90deg);
}

.icon-heart-container {
    left: auto !important;
    bottom: auto !important;
    position: absolute;
    right: 13px;
    top: 13px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1;
    background: #ffe8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
}

.icon-heart.home {
    left: 20px;
}

.icon-heart.bc {
    border: 1px solid black;
    display: inline-block;
    position: unset;
}

.icon-heart .fa-heart {
    font-size: 11px;
    /* border: 1px solid #ffffff; */
    border-radius: 25px;
    padding: 7px;
}

.icon-heart .fas.fa-heart {
    display: none;
}

.icon-heart:hover,
.icon-heart.active {
    color: #d92027;
}

.icon-heart:hover .far.fa-heart,
.icon-heart.active .far.fa-heart {
    display: none;
}

.icon-heart:hover .fas.fa-heart,
.icon-heart.active .fas.fa-heart {
    display: inline-block;
}

.product-list .card .card-body,
.product-list .card .card-footer {
    font-size: 0.85rem;
    padding: 8px;
}

.product-list .card .card-footer small,
.product-list .card .card-footer .far,
.product-list .card .card-footer .fas {
    font-size: 0.65rem;
    color: #FFB800;
}

.product-list .card .card-body .discount {
    position: absolute;
    right: -3px;
    top: 10px;
    background: var(--bs-primary);
    color: #fff;
    padding: .1rem .3rem;
    font-weight: 600;
    font-size: 11px;
    z-index: 2;
}

/* Brand List Styles - Similar to Product List */
.brand-list .card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.brand-list .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.15), 0 6px 6px rgba(236, 72, 153, 0.1);
    border-color: rgba(147, 51, 234, 0.3);
}

.brand-list .card .card-img-top {
    background: linear-gradient(135deg, #faf5ff 0%, #fdf4ff 100%);
    transition: all 0.3s ease;
}

.brand-list .card:hover .card-img-top {
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
}

.brand-list .card img {
    transition: transform 0.3s ease;
}

.brand-list .card:hover img {
    transform: scale(1.05);
}

.brand-list .card .card-body {
    font-size: 0.85rem;
    padding: 12px;
}

.brand-list .card .card-body .figure-caption {
    color: #212529;
    transition: color 0.3s ease;
}

.brand-list .card:hover .card-body .figure-caption {
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.nav.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    /* Fallback standar */
    border-bottom: 0px solid var(--bs-primary) !important;
}

.nav.nav-tabs .nav-link {
    color: var(--bs-dark) !important;
}

.slider-thumbnails {
    margin-left: -15px;
    margin-right: -15px;
}

.slider-thumbnails .slick-slide {
    padding: 15px;
    transition: transform 0.3s ease-out;
}

.slider-thumbnails .slick-slide img {
    max-width: 100%;
}

.accordion-button {
    font-size: .9rem;
}

.accordion a:hover,
.accordion a.active {
    background-color: #F8F9FA;
}

ul.nav-custom {
    white-space: nowrap;
    overflow-x: auto;
}

ul.nav-custom li {
    display: inline-block;
    float: none;
    padding-left: 20px;
    padding-right: 20px;
}

ul.nav-custom li a {
    color: var(--bs-dark);
}

ul.nav-custom li.active,
ul.nav-custom li:hover {
    border-bottom: 2px solid var(--bs-primary);
    font-weight: bold;
    padding-bottom: 15px;
}

ul.nav-custom li.active a,
ul.nav-custom li.active,
ul.nav-custom li:hover a {
    color: var(--bs-primary) !important;
}

.fa-eye-slash {
    z-index: 99;
}

.was-validated .form-control:valid,
.was-validated .form-control:invalid,
.form-control.is-invalid,
.form-control.is-valid {
    background-image: none;
    padding: .25rem .25rem;
}

.breadcrumb-divider {
    --bs-breadcrumb-divider: '>';
}

.breadcrumb-list .breadcrumb-item::before {
    color: var(--bs-primary) !important;
}

.credit-card {
    position: relative;
    background-image: url("../img/bg-cc.png");
    background-size: cover;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.why-google-authenticator {
    border: 3px solid var(--bs-primary);
    opacity: .75;
    border-radius: 10px;
    width: 600px;
}

.why-google-authenticator .title {
    line-height: 40px;
    font-size: 14px;
    font-weight: 600;
    width: 400px;
    margin: -38px auto 0px;
}

.dropdown-hover:hover .dropdown-menu-custom {
    display: block;
}

.dropdown-hover .dropdown-menu-custom {
    display: none;
    position: absolute;
    will-change: transform;
}

.dropdown-hover .dropdown-menu-custom.show {
    display: block;
    margin-top: 0px !important;
}

.dropdown-menu-center,
.dropdown-menu-center.show {
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.btn-notif i.bi-bell,
.btn-cart i.bi-bag {
    padding: 5px;
    border-radius: 3px;
}

.btn-notif:hover i.bi-bell,
.btn-cart:hover i.bi-bag {
    background: #eaeaea;
}

.icon-menu {
    border: 1px solid;
    font-size: 9px;
    transform: translate(-75%, -30%) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.waiting-payment button:hover {
    background-color: #eaeaea;
}

.transactions-content {
    height: 235px;
    overflow: auto;
}

.updates-content {
    height: 400px;
    overflow: auto;
}

.clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* number of lines to show */
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

[class*=clamp-] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 35.69px;
}

ul#location-list {
    width: 100%;
}

ul#location-list li {
    padding: 3px 3px;
}

ul#location-list li:not(:last-child) {
    border-bottom: 1px #dbd4d4 solid;
}

ul#location-list li .dropdown-item {
    text-wrap: wrap;
}

.currencypicker {
    outline: none !important;
    box-shadow: none;
}

.custom-transparent button,
.custom-transparent.currencypicker button {
    background-color: transparent !important;
    border: none;
}

.custom-transparent.currencypicker button {
    padding: 0;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
}

.iti {
    width: 100%;
}

.iti__selected-dial-code {
    font-size: .875rem;
}

.select2-container {
    width: 100% !important;
    border: solid #dfdddd 1px;
}

.select2-container--default .select2-selection--multiple {
    border: solid #dfdddd 1px;
    outline: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #dfdddd 1px;
    outline: 0;
}

.no-focus-border:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.card-left-decor1:before {
    background: #ee167f;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    content: " ";
    height: 24px;
    left: 0;
    position: absolute;
    width: 4px;
}

.log .log-item {
    margin-bottom: 10px;
}

.log .log-item .log-datetime,
.log .log-item .log-content {
    display: inline-block;
}

.log .log-item .log-datetime {
    vertical-align: top;
    text-align: right;
    padding-right: 58px;
    width: 48%;
}

.log .log-item .log-content {
    width: 50%;
}

.log .log-item .log-content>div {
    position: relative;
}

.log .log-item .log-content>div p {
    color: #6D7588;
}

.log .log-item .log-content>div::before {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #8D96AA;
    left: -35px;
    top: 6px;
    box-shadow: rgb(240, 243, 247) 0px 0px 0px 4px;
    z-index: 2;
}

.log .log-item:first-child .log-content>div::before {
    background-color: var(--GN500, #00AA5B);
    box-shadow: rgb(201, 253, 224) 0px 0px 0px 4px;
}

.log .log-item:not(:last-child) .log-content>div::after {
    content: "";
    position: absolute;
    left: -26px;
    bottom: -28px;
    width: 1px;
    height: calc(100% + 12px);
    border-left: thin dashed var(--NN50, #F0F3F7);
    z-index: 1;
}

#show-qr-code {
    text-align: center;
}

#show-qr-code img {
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.hover-me:hover {
    background-color: #F8F9FA !important;
}

.bootbox-child.modal {
    display: none;
    /* Hide default */
    position: absolute;
    /* Position absolute to parent */
    bottom: 0;
    /* Align to the bottom of the parent */
    left: 0;
    width: 100%;
    z-index: 1060;
    /* Above the parent modal */
    border-radius: 0;
    /* Remove border radius */
}

.bootbox-child.slide-up {
    display: block;
    /* Show when added to DOM */
    animation: slide-up 0.5s ease forwards;
    /* Add animation */
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
        /* Start from below */
    }

    to {
        transform: translateY(0);
        /* Slide to position */
    }
}


:root {
    --skeleton-bg: #e9e9ee;
    --skeleton-highlight: #f6f6f8;
    --skeleton-radius: 8px;
    --shimmer-duration: 1.2s;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--skeleton-bg);
    border-radius: var(--skeleton-radius);
    display: inline-block;
    line-height: 1;
    /* ensure no selectable text fallback */
    user-select: none;
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--skeleton-highlight) 50%, transparent 100%);
    transform: translateX(0);
    animation: shimmer var(--shimmer-duration) linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .skeleton::after {
        animation: none;
        display: none;
    }
}

/* helper sizes */
.skeleton.h-12 {
    height: 48px;
}

.skeleton.h-8 {
    height: 32px;
}

.skeleton.h-6 {
    height: 24px;
}

.skeleton.h-4 {
    height: 16px;
}

.skeleton.w-100 {
    width: 100%;
}

.skeleton.w-60 {
    width: 60%;
}

.skeleton.w-40 {
    width: 40%;
}

.skeleton.w-32 {
    width: 32%;
}

.skeleton.w-20 {
    width: 20%;
}

.skeleton.round {
    border-radius: 50%;
}

.skeleton.skeleton-countrypicker {
    width: 144px;
    height: 37.8px;
}

.skeleton.skeleton-currencypicker {
    width: 49.29px;
    height: 23.99px;
}

.select2-container.select2-container--default.select2-container--open {
    border: 0px !important;
}

.privacy-policy h1,
h3 {
    font-weight: 700;
}

@media(max-width: 575.98px) {
    .contact-check-position {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

.privacy-policy h1 {
    font-size: 1.5rem;
}

.privacy-policy h3 {
    font-size: 1.25rem;
}

.privacy-policy li,
p {
    /* font-size: 0.8rem; */
}

.terms-conditions h1,
h3 {
    font-weight: 700;
}

.terms-conditions h1 {
    font-size: 1.5rem;
}

.terms-conditions h3 {
    font-size: 1.25rem;
}

.terms-conditions li,
p {
    /* font-size: 0.8rem; */
}

.support-container {
    padding: 4px;
}

.support-items {
    transform: translateX(0px);
    transition: all .18s ease;
    color: #d946ef;
    border-radius: 10px;
}

.support-items:hover {
    background: linear-gradient(90deg, rgba(217, 70, 239, 0.04), rgba(192, 38, 211, 0.02));
    color: #d946ef !important;
}

.support-items.active {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.12), rgba(192, 38, 211, 0.08));
    box-shadow: 0 6px 18px rgba(217, 70, 239, 0.06);
    color: #d946ef !important;
    font-weight: 600;
}

@media(min-width: 768px) {
    .support-container {
        overflow: hidden;
        box-shadow: 0 0 0.90rem rgba(0, 0, 0, 0.075);
        border-radius: 0.2rem;
    }

    .support-items {
        display: flex !important;
    }

    .support-items:hover {
        transform: translateX(6px);
    }
}

@media(max-width: 767px) {
    .support-container {
        overflow: auto;
        white-space: nowrap;
    }

    .support-items {
        color: #d946ef;
        display: inline-block !important;
        border-radius: 13px;
    }

    .support-items:hover {
        transform: translateY(-2px);
    }
}

.about-content-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-intro-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid #e9d5ff;
}

.about-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-card-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-card-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-card-description {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.about-feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.about-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d946ef 0%, #9333ea 100%);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.about-feature-card:hover::before {
    transform: scaleX(1);
}

.about-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(217, 70, 239, 0.15);
    border-color: #e9d5ff;
}

.about-feature-icon {
    font-size: 48px;
    margin-bottom: 18px;
    display: inline-block;
    transition: transform 0.4s;
}

.about-card-icon img {
    height: 100px;
}

.about-feature-icon img {
    height: 72px;
}

.about-feature-card:hover .about-feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.about-feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.about-feature-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

.mission-section {
    margin-top: 30px;
}

.mission-card {
    background: linear-gradient(135deg, #d946ef 0%, #9333ea 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(217, 70, 239, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mission-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mission-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-hero-section {
    position: relative;
    overflow: hidden;
}

.about-hero-gradient {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 35%, #9333ea 70%, #7c3aed 100%);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px;
}

.about-hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.about-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.about-hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 968px) {
    .about-hero-title {
        font-size: 36px;
    }

    .about-card-title {
        font-size: 26px;
    }

    .about-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 640px) {
    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-subtitle {
        font-size: 16px;
    }

    .about-content-card {
        padding: 25px;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .mission-card {
        padding: 35px 25px;
    }

    .mission-title {
        font-size: 28px;
    }
}


.branches-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.branches-card:hover::before {
    transform: scaleX(1);
}

.branches-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 12px 30px rgba(78, 70, 239, 0.15);
    border-color: #e9d5ff;
}

.noUi-connect {
    background: #3C6EFD;
    /* Biru (warna Bootstrap primary) */
}

/* Avatar box and image styles for profile photo (261x261) */
.avatar-box {
    height: 261px;
    width: 261px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    position: relative;
    /* for absolute positioned buttons inside */
}

.avatar-img {
    object-fit: contain !important;
    object-position: center center !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block;
}

.avatar-img--cover {
    object-fit: cover !important;
}

#collapseLog .card-body {
    max-height: 300px;
    overflow: auto;
}

.how-to-pay-content {
    text-align: left;
    padding: 15px;
}

.bg-none {
    background: none !important;
}

/* Topbar Gradient Enhancement */
.topbar {
    background: linear-gradient(135deg, #ffffff 0%, #fef3f8 100%) !important;
    border-bottom: 1px solid rgba(217, 70, 239, 0.1);
    transition: all 0.3s ease;
}

.topbar .mini-header a {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.topbar .mini-header a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    transition: width 0.3s ease;
}

.topbar .mini-header a:hover::after,
.topbar .mini-header a.text-primary::after {
    width: 100%;
}

.topbar .mini-header a:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Flags Enhancement */
.navbar-nav .img-flag {
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-nav .img-flag:hover {
    border: 1px #d946ef solid;
    transform: scale(1.1);
    box-shadow: 0 0px 4px rgba(217, 70, 239, 0.3);
}

.navbar-nav .img-flag.active {
    border: 1px #d946ef solid;
    box-shadow: 0 0px 4px rgba(217, 70, 239, 0.4);
}

/* Navbar Enhancement */
.navbar {
    /* box-shadow: 0 4px 20px rgba(217, 70, 239, 0.08); */
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navigation Links with Gradient */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Search Button Enhancement */
button[data-bs-target="#searchModal"] {
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    border: 0px;
}


button[data-bs-target="#searchModal"]:hover {
    color: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
}

/* Search Modal Enhancement */
#searchModal .modal-header {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    border-bottom: 2px solid rgba(217, 70, 239, 0.2);
}

#searchModal .modal-title {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

#searchModal .input-group .form-control {
    border: 2px solid #f0f0f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

#searchModal .input-group .form-control:focus {
    border-color: #d946ef;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1);
}

#searchModal .input-group-text {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border: none;
    border-radius: 0 12px 12px 0;
    color: white;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#searchModal .input-group-text:hover {
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.4);
}

/* Country Picker Enhancement */
.countrypicker .dropdown-toggle {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.countrypicker .dropdown-toggle:hover {
    border-color: #d946ef;
    background: #fef3f8;
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.15);
}

.countrypicker .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
}

.countrypicker .dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.countrypicker .dropdown-item:hover {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
    padding-left: 18px;
}

/* Currency Picker Enhancement */
.currencypicker .dropdown-toggle {
    font-weight: 600;
    transition: all 0.3s ease;
}

.currencypicker .dropdown-toggle:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 0px solid #f0f0f0;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    border: none;
}

.navbar-toggler:hover {
    border-color: #d946ef;
    /* background: #fef3f8; */
}

.navbar-toggler .fa-bars {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cart & Notification Icons */
.btn-cart,
.btn-notif {
    position: relative;
    transition: all 0.3s ease;
}

.btn-cart:hover i.bi-bag,
.btn-notif:hover i.bi-bell {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
}

.icon-menu {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    color: white;
    border: none;
    font-weight: 700;
}

/* Back to Top Button Enhancement */
.back-to-top {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    transition: all 0.3s ease;
    cursor: grab;
    touch-action: none;
    /* Prevent default touch actions like clean scrolling */
}

.back-to-top:active {
    cursor: grabbing;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.5);
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 10;
}

@media(max-width: 767px) {
    .back-to-top {
        bottom: 120px;
    }
}

/* Footer Enhancement */
.footer {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 50%, #f0f9ff 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d946ef, transparent);
}

.footer h5 {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer a.btn-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

.footer a.btn-link.active {
    font-weight: 900;
}

.footer a.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    transition: width 0.3s ease;
}

.footer a.btn-link:hover::after {
    width: 100%;
}

.footer a.btn-link:hover {
    color: #d946ef !important;
    padding-left: 8px;
}

/* Social Media Icons */
.footer i[class*="fab"],
.footer i[class*="fa-"] {
    transition: all 0.3s ease;
}

.footer i[class*="fab"]:hover,
.footer i[class*="fa-"]:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(217, 70, 239, 0.4));
}

/* Fixed Top Enhancement */
.fixed-top {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Responsive Enhancements */
@media (max-width: 1199px) {
    .navbar-collapse {
        background: white;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-nav .nav-link {
        border-radius: 8px;
        margin: 4px 0;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
        color: #d946ef;
    }
}

/* ========================================
   LOGIN & REGISTER BUTTON ENHANCEMENTS
   ======================================== */

/* Login Button - Outline Style with Gradient */
a[href*="login"].btn {
    background: white;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #d946ef;
    font-weight: 700;
    border-radius: 10px;
    padding: 7px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

a[href*="login"].btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

a[href*="login"].btn:hover {
    color: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

a[href*="login"].btn:hover::before {
    left: 0;
}

/* Register Button - Solid Gradient Style */
a[href*="register"].btn {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 10px;
    padding: 9px 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.4);
    position: relative;
    overflow: hidden;
}

a[href*="register"].btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

a[href*="register"].btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.5);
}

a[href*="register"].btn:hover::after {
    width: 300px;
    height: 300px;
}

a[href*="register"].btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(217, 70, 239, 0.4);
}

/* User Profile Dropdown Button */
.dropdown.dropdown-hover .dropdown-toggle {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 10px 16px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.dropdown.dropdown-hover .dropdown-toggle:hover {
    border-color: #d946ef;
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.15);
}

.dropdown.dropdown-hover .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
    margin-top: 8px;
}

.dropdown.dropdown-hover .dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #2d3748;
}

.dropdown.dropdown-hover .dropdown-item i {
    width: 20px;
    transition: transform 0.3s ease;
}

.dropdown.dropdown-hover .dropdown-item:hover {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
    padding-left: 18px;
    transform: translateX(4px);
}

.dropdown.dropdown-hover .dropdown-item:hover i {
    transform: scale(1.2);
}

/* Brand Specific Button Styles */
a[href*="login"].btn.btn-light,
a[href*="register"].btn.btn-light {
    background: white;
    border: 2px solid #e0e0e0;
    color: #2d3748;
    font-weight: 700;
}

a[href*="login"].btn.btn-light:hover,
a[href*="register"].btn.btn-light:hover {
    border-color: #d946ef;
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
}

/* Logout Link Enhancement */
a[href*="logout"].dropdown-item {
    color: #dc2626;
}

a[href*="logout"].dropdown-item:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* Mobile Button Adjustments */
@media (max-width: 767px) {
    a[href*="login"].btn {
        padding: 4px 14px;
        font-size: 0.9rem;
    }

    a[href*="register"].btn {
        padding: 5px 15px;
        font-size: 0.9rem;
    }

    .dropdown.dropdown-hover .dropdown-toggle {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Button Loading State (Optional) */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   PRODUCT DETAIL PAGE ENHANCEMENTS
   ======================================== */

/* Product Detail Page Wrapper */
.product-detail-wrapper {
    /* background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 50%, #f0f9ff 100%); */
    min-height: 100vh;
    position: relative;
}

.product-detail-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
    radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.08) 0%, transparent 50%); */
    pointer-events: none;
}

/* Product Image Slider Enhancement */
.product-detail-wrapper .card.slider {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.15);
    background: white;
    transition: all 0.3s ease;
}

.product-detail-wrapper .card.slider:hover {
    box-shadow: 0 12px 32px rgba(217, 70, 239, 0.25);
    transform: translateY(-4px);
}

.product-detail-wrapper .slider-nav .card {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-detail-wrapper .slider-nav .card:hover {
    border-color: #d946ef;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.2);
}

.product-detail-wrapper .slider-nav .slick-current .card {
    border-color: #d946ef;
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.3);
}

/* Product Title & Brand */
.product-detail-wrapper h3.fw-bold {
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.3;
}

.product-detail-wrapper h5.fw-bold a {
    transition: all 0.3s ease;
}

.product-detail-wrapper h5.fw-bold a:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price Display Enhancement */
.product-detail-wrapper h4.text-primary {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Discount Badge */
.product-detail-wrapper .bg-primary.text-white {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%) !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(217, 70, 239, 0.4);
}

/* Buy & Add to Cart Buttons */
.product-detail-wrapper button.btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 14px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    position: relative;
    overflow: hidden;
}

.product-detail-wrapper button.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.product-detail-wrapper button.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.5);
}

.product-detail-wrapper button.btn-primary:hover::after {
    width: 100%;
    height: 300px;
}

.product-detail-wrapper button.btn-outline-primary {
    background: white;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #d946ef;
    font-weight: 700;
    border-radius: 12px;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.product-detail-wrapper button.btn-outline-primary:hover {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

/* Share & Like Buttons */
.product-detail-wrapper button[data-bs-target="#shareModal"],
.product-detail-wrapper .icon-heart {
    transition: all 0.3s ease;
}

.product-detail-wrapper button[data-bs-target="#shareModal"]:hover {
    color: #d946ef;
    transform: scale(1.1);
}

.product-detail-wrapper .icon-heart:hover {
    transform: scale(1.2);
}

/* Tabs Enhancement */
.product-detail-wrapper .nav-tabs {
    border-bottom: 0px solid #f0f0f0;
}

.product-detail-wrapper .nav-tabs .nav-link {
    border: none;
    color: #64748b;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

@media(max-width: 768px) {
    .product-detail-wrapper .nav-tabs .nav-link {
        padding: 0.5rem 0.4rem;
    }
}

.product-detail-wrapper .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.product-detail-wrapper .nav-tabs .nav-link:hover {
    color: #d946ef;
}

.product-detail-wrapper .nav-tabs .nav-link.active {
    color: #d946ef;
    background: transparent;
    font-weight: 700;
}

.product-detail-wrapper .nav-tabs .nav-link.active::after {
    width: 80%;
}

/* Tab Content */
.product-detail-wrapper .tab-content {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
}

/* Stock Info */
.product-detail-wrapper .text-danger {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Categories & Occasions Links */
.product-detail-wrapper a[href*="products?cat"],
.product-detail-wrapper a[href*="products?occ"] {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-detail-wrapper a[href*="products?cat"]:hover,
.product-detail-wrapper a[href*="products?occ"]:hover {
    border-color: #d946ef;
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.2);
}

/* Share Modal Enhancement */
#shareModal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

#shareModal .modal-header {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    border-bottom: 2px solid rgba(217, 70, 239, 0.2);
    border-radius: 20px 20px 0 0;
}

#shareModal .modal-body h3 {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Related Products Section */
.product-detail-wrapper .vouchers-brand,
.product-detail-wrapper .vouchers-category {
    margin: 2rem 0;
}

.product-detail-wrapper h5.fw-bold {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fix untuk slick carousel agar card hover tidak terpotong - HANYA BAGIAN ATAS */
.vouchers-brand .slick-list,
.vouchers-category .slick-list,
.product-list .slick-list {
    overflow: hidden !important;
    /* Hidden default */
    padding: 0 !important;
    clip-path: inset(-30px 0 0 0);
    /* Allow overflow hanya di atas (30px ke atas) */
}

.vouchers-brand .slick-track,
.vouchers-category .slick-track,
.product-list .slick-track {
    display: flex !important;
    padding: 30px 0 10px 0 !important;
    /* Padding atas untuk ruang hover */
}

.vouchers-brand .slick-slide,
.vouchers-category .slick-slide,
.product-list .slick-slide {
    padding: 0 8px !important;
    /* Spacing antar card */
    margin: 0 !important;
}

/* Ensure slide wrapper doesn't clip */
.vouchers-brand .slide,
.vouchers-category .slide,
.product-list .slide {
    position: relative;
    z-index: 1;
}

.vouchers-brand .slide:hover,
.vouchers-category .slide:hover,
.product-list .slide:hover {
    z-index: 10;
    /* Naikkan z-index saat hover */
}

/* Adjust slick slider container */
.vouchers-brand,
.vouchers-category {
    padding: 0 !important;
    margin: 2rem 0 !important;
}

/* Ensure card has position relative for icon-heart-container positioning */
.vouchers-brand .card,
.vouchers-category .card {
    position: relative !important;
}

/* Fix icon-heart positioning in vouchers sliders */
.vouchers-brand .icon-heart-container,
.vouchers-category .icon-heart-container {
    position: absolute !important;
    top: 13px !important;
    right: 13px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10;
}

.vouchers-brand .icon-heart,
.vouchers-category .icon-heart {
    position: static !important;
    margin-left: 0 !important;
}

/* View All Link */
.product-detail-wrapper a.text-decoration-none {
    color: #d946ef;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.product-detail-wrapper a.text-decoration-none:hover {
    color: #9333ea;
}

.product-detail-wrapper a.text-decoration-none:hover::after {
    margin-left: 8px;
}

/* Breadcrumb in Product Detail */
.product-detail-wrapper .breadcrumb-item a {
    color: #64748b;
    transition: all 0.3s ease;
}

.product-detail-wrapper .breadcrumb-item a:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Adjustments for Product Detail */
@media (max-width: 767px) {
    .product-detail-wrapper h4.text-primary {
        font-size: 1.5rem;
    }

    .product-detail-wrapper button.btn-primary,
    .product-detail-wrapper button.btn-outline-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .product-detail-wrapper .tab-content {
        padding: 1rem;
    }
}

/* Enhanced Products Page Styles with Gradient Theme */

/* Products Page Header/Background */
.products-page-wrapper,
.brands-page-wrapper {
    /* background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 50%, #f0f9ff 100%); */
    min-height: 100vh;
    position: relative;
}

.products-page-wrapper::before,
.brands-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
    radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.08) 0%, transparent 50%); */
    pointer-events: none;
}

/* Filter Card with Gradient Accent */
.card-filter {
    border: none !important;
    background: white;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.12) !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
}

.card-filter:hover {
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.2) !important;
    transform: translateY(-2px);
}

.card-filter .accordion-button {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.95rem;
    padding: 1rem 0;
}

.card-filter .accordion-button:not(.collapsed) {
    background-color: transparent;
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Transaction Filter Buttons Enhancement */
.transactions-list {
    position: relative;
}

.btn-filter-status {
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    min-width: 100px;
}

.btn-filter-status::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-filter-status:hover::before {
    width: 300px;
    height: 300px;
}

.btn-filter-status.btn-primary,
.btn-filter-status.btn-outline-primary {
    border-color: var(--bs-primary);
}

.btn-filter-status.btn-success,
.btn-filter-status.btn-outline-success {
    border-color: var(--bs-success);
}

.btn-filter-status.btn-danger,
.btn-filter-status.btn-outline-danger {
    border-color: var(--bs-danger);
}

.btn-filter-status.btn-warning,
.btn-filter-status.btn-outline-warning {
    border-color: var(--bs-warning);
}

.btn-filter-status.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    box-shadow: 0 0px 5px rgba(13, 110, 253, 0.3);
}

.btn-filter-status.btn-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, #157347 100%);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-filter-status.btn-danger {
    background: linear-gradient(135deg, var(--bs-danger) 0%, #bb2d3b 100%);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-filter-status.btn-warning {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #d39e00 100%);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    color: #ffffff;
}

.btn-filter-status.btn-outline-primary {
    background: transparent;
    color: var(--bs-primary);
    box-shadow: none;
}

.btn-filter-status.btn-outline-success {
    background: transparent;
    color: var(--bs-success);
    box-shadow: none;
}

.btn-filter-status.btn-outline-danger {
    background: transparent;
    color: var(--bs-danger);
    box-shadow: none;
}

.btn-filter-status.btn-outline-warning {
    background: transparent;
    color: var(--bs-warning);
    box-shadow: none;
}

.btn-filter-status.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

.btn-filter-status.btn-outline-success:hover {
    background: linear-gradient(135deg, var(--bs-success) 0%, #157347 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    transform: translateY(-2px);
}

.btn-filter-status.btn-outline-danger:hover {
    background: linear-gradient(135deg, var(--bs-danger) 0%, #bb2d3b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
}

.btn-filter-status.btn-outline-warning:hover {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #d39e00 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

.btn-filter-status:active {
    transform: translateY(0);
}

/* Mobile responsive for filter buttons */
@media (max-width: 576px) {
    .btn-filter-status {
        min-width: 90px;
        padding: 6px 15px;
        font-size: 11px;
    }
}

/* Waiting Payment Enhancement */
.data-content .card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: visible;
}

.data-content .card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Waiting Payment Button Styles */
.data-content .card .btn,
.waiting-payment .btn {
    position: relative;
    overflow: hidden;
    border-radius: 25px !important;
    font-weight: 500;
    padding: 10px 24px;
    transition: all 0.3s ease;
    border: 2px solid;
    font-size: 14px;
}

.data-content .card .btn::before,
.waiting-payment .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: 0;
}

.data-content .card .btn:hover::before,
.waiting-payment .btn:hover::before {
    width: 300px;
    height: 300px;
}

.data-content .card .btn>*,
.waiting-payment .btn>* {
    position: relative;
    z-index: 1;
}

/* Primary Button - See Details */
.data-content .card .btn-primary,
.waiting-payment .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.data-content .card .btn-primary:hover,
.waiting-payment .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    color: white;
}

/* Outline Primary Button - How To Pay & Cancel */
.data-content .card .btn-outline-primary,
.waiting-payment .btn-outline-primary {
    background: white;
    color: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.data-content .card .btn-outline-primary:hover,
.waiting-payment .btn-outline-primary:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-color: #0d6efd;
    color: white !important;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

.data-content .card .btn:active,
.waiting-payment .btn:active {
    transform: translateY(0);
}

.card-custom {
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    background: white;
}

.card-custom.card-hover {
    transition: all 0.3s ease;
}

.card-custom.card-hover:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.card-transaction,
.card-custom,
.data-content .card.text-dark {
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: white;
}

.card-transaction:hover,
.data-content .card.text-dark:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #dee2e6;
}

/* Payment Logo Styling */
.data-content .card img[height="70px"] {
    max-width: 200px;
    object-fit: contain;
}

/* Text Orange Color for Countdown */
.text-orange {
    color: #ff6b35 !important;
    font-weight: 600;
}

/* Load More Button */
.btn-load-more {
    border-radius: 25px !important;
    font-weight: 500;
    padding: 12px 40px;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Mobile responsive for waiting payment buttons */
@media (max-width: 576px) {

    .data-content .card .btn,
    .waiting-payment .btn {
        padding: 8px 18px;
        font-size: 13px;
        border-radius: 20px !important;
    }
}

.card-filter .form-control,
.card-filter .form-select {
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.card-filter .form-control:focus,
.card-filter .form-select:focus {
    border-color: #d946ef;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1);
    background: #fef3f8;
}

.card-filter .btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
    color: white;
    width: 100%;
}

.card-filter .btn-primary:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
}

.card-filter .btn-primary:active {
    /* transform: translateY(0); */
}

.card-filter .input-group .btn-primary {
    width: auto;
    border-radius: 0 10px 10px 0 !important;
}

/* Custom Checkbox Styles with Gradient */
.card-filter input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}

.card-filter input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    border-color: #d946ef;
}

.card-filter input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.card-filter input[type="checkbox"]:hover {
    border-color: #d946ef;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1);
}

@media(max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important;
    }

    .card-filter {
        margin-bottom: 0px !important;
        padding-bottom: 0px;
        position: relative;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) !important;
    }

    .card-filter:hover {
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) !important;
    }

    .card-filter .btn-apply-filter {
        position: static;
        width: 100%;
        transform: none;
    }
}

/* Enhanced Product Cards with Premium Look */
.product-list .card {
    border: none;
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: white;
    position: relative;
}

.product-list .card:hover::before {
    opacity: 1;
}

.product-list .card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 0px 15px rgba(217, 70, 239, 0.15);
}

.product-list .card img {
    transition: transform 0.5s ease;
}

.product-list .card:hover img {
    transform: scale(1.1);
}

.product-list .card .card-img-top {
    overflow: hidden;
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    position: relative;
}

.product-list .card .card-body {
    padding: 1.25rem !important;
    background: white;
    padding-bottom: 0px !important;
}

.product-list .card .card-body h6,
.product-list .card .card-body .card-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.product-list .card-body .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    min-height: 19px;
}

.product-list .card-body .product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    min-height: 38px;
    line-height: 1.3;
}

.product-list .card .card-footer {
    background: linear-gradient(to top, #fafafa, white);
    border-top: 1px solid #f0f0f0;
    padding: 1rem !important;
}

.product-list .card .card-body .discount {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    border-radius: 8px 0 0 8px;
    box-shadow: 0 3px 12px rgba(217, 70, 239, 0.4);
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    font-weight: 700;
    right: 0;
    top: 12px;
    color: white;
    letter-spacing: 0.5px;
}

/* Product Price Styling with Gradient */
.product-list .card .text-muted {
    text-decoration: line-through;
    font-size: 0.85rem;
    color: #999 !important;
}

.product-list .card .fw-bold {
    /* background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
    font-size: 1.2rem;
    font-weight: 800;
}

/* ========================================
   Product Card Price Alignment Fix
   ======================================== */

.product-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 38px;
}

.product-price-container .price-original {
    font-size: 10px;
    line-height: 1;
    color: #9aa0a6;
    text-decoration: line-through;
    margin-bottom: 3px;
    height: 10px;
}

.product-price-container .price-final {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: bold;
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 10px;
}

/* Global Product Card Name & Brand Consistency */
.card .product-name,
.card-body .product-name {
    min-height: 38px;
    line-height: 1.3;
}

.card .brand-name,
.card-body .brand-name {
    min-height: 19px;
}

/* Search and Filter Controls with Gradient */
.input-group .form-control {
    border-radius: 10px 0 0 10px !important;
    border: 2px solid #f0f0f0;
    border-right: none;
}

.input-group .form-control:focus {
    border-color: #d946ef;
    box-shadow: none;
}

.input-group .btn {
    border-radius: 0 10px 10px 0 !important;
}

/* Dropdown Sort Styling with Gradient Accent */
.dropdown-eb .dropdown-toggle {
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 8px 16px;
    background: white;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-eb .dropdown-toggle:hover {
    border-color: #d946ef;
    background: #fef3f8;
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.15);
}

.dropdown-eb .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 8px !important;
    padding: 8px;
}

.dropdown-eb .dropdown-item {
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 500;
}

.dropdown-eb .dropdown-item:hover {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #d946ef;
    padding-left: 24px;
    transform: translateX(4px);
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '›';
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #94a3b8;
    font-weight: 400;
}

.breadcrumb-item a {
    color: #64748b;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb-item.active {
    color: #1a1a1a;
    font-weight: 600;
}

/* Load More Button with Gradient */
#infinite-scroll-product {
    text-align: center;
    padding: 3rem 0;
    color: #64748b;
    font-weight: 500;
}

/* Mobile Filter Button - Gradient Text & Icon, Clear Background */
.btn-filter-mobile {
    background: transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

/* Gradient Text for Button */
.btn-filter-mobile span {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Gradient Icon */
.btn-filter-mobile i {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    animation: filterPulse 2s ease-in-out infinite;
}

/* Hover Effect - Background Fill */
.btn-filter-mobile:hover {
    transform: translateY(-1px);
    box-shadow: 0 0px 4px rgba(217, 70, 239, 0.4);
    border-color: transparent;
}

/* On hover, change text and icon to white */
.btn-filter-mobile:hover span,
.btn-filter-mobile:hover i {
    /* -webkit-text-fill-color: white;
  background: white; */
    -webkit-background-clip: text;
    background-clip: text;
}

.btn-filter-mobile:active {
    transform: translateY(0px);
    box-shadow: 0 3px 10px rgba(217, 70, 239, 0.3);
}

@keyframes filterPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Badge untuk jumlah filter aktif (opsional untuk future enhancement) */
.btn-filter-mobile .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.btn-more {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    font-weight: 700;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

.btn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.4);
}

/* Best Sellers Section */
.best-sellers .card {
    margin: 0 10px;
}

/* Product Count Display */
#Count,
#Total {
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Heart Icon Gradient */
.icon-heart:hover,
.icon-heart.active {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Divider with Gradient */
.products-page-wrapper .dropdown-divider,
.brands-page-wrapper .dropdown-divider {
    opacity: 0.2;
    background: linear-gradient(90deg, transparent, #d946ef, transparent);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .product-list .col-lg-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .card-filter {
        margin-bottom: 2rem;
    }

    .product-list .card {
        margin-bottom: 1.5rem;
    }

    .dropdown-eb .dropdown-toggle {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .product-list .card:hover {
        transform: translateY(-6px) scale(1.01);
    }

    /* Mobile Filter Button Responsive */
    .btn-filter-mobile {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .btn-filter-mobile i {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {

    /* Extra small devices */
    .btn-filter-mobile {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

.h-90vh {
    height: 90vh !important;
    /* !important untuk menimpa default bootstrap */
}

.vouchers-category .slick-list {
    overflow: visible;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

button:focus:not(:focus-visible) {
    outline: none !important;
}

button:focus-visible {
    outline: none !important;
}


#sheetModal {
    height: 80vh;
    max-height: 600px;
}

#sheetModal.offcanvas {
    height: 80vh;
    max-height: 80vh;
    display: flex;
    align-items: flex-end;
}

#sheetModal .card.card-filter {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem 0.75rem 0 0;
    margin: 0;
}

#sheetModal .offcanvas-header {
    flex: 0 0 auto;
}

#sheetModal .offcanvas-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#sheetModal .offcanvas-body.small {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* ========================================
   MODERN BOTTOM NAVIGATION
   ======================================== */

.bottom-nav-custom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    border-radius: 20px 20px 0px 0px;

    padding : 0px;
    line-height : 10px;
}

.bottom-nav-container {
    max-width: 100%;
    padding: 0 8px;
}

.bottom-nav-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex: 1;
    padding : 0px;
    border-radius: 12px;
    min-width: 0;
}

.bottom-nav-item .nav-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2px;
}

.bottom-nav-item i {
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav-item .nav-label {
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Center Item (Cart) - Special Styling */
.bottom-nav-item.bottom-nav-center .nav-icon-wrapper.nav-icon-center {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.3);
    transform: translateY(-8px);
}

.bottom-nav-item.bottom-nav-center i {
    color: #ffffff;
    font-size: 24px;
}

.bottom-nav-item.bottom-nav-center .nav-label {
    margin-top: -4px;
}

/* Badge for Cart Count */
.bottom-nav-item .nav-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid white;
}

/* Active State */
.bottom-nav-item.active {
    color: #9333ea;
}

.bottom-nav-item.active .nav-icon-wrapper {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

.bottom-nav-item.active .nav-label {
    font-weight: 700;
}

/* Hover State (for devices that support hover) */
@media (hover: hover) {
    .bottom-nav-item:not(.bottom-nav-center):hover {
        color: #9333ea;
    }

    .bottom-nav-item:not(.bottom-nav-center):hover .nav-icon-wrapper {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
        transform: scale(1.05);
    }

    .bottom-nav-item.bottom-nav-center:hover .nav-icon-wrapper.nav-icon-center {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    }
}

/* Active/Tap State */
.bottom-nav-item:active:not(.bottom-nav-center) .nav-icon-wrapper {
    transform: scale(0.95);
}

.bottom-nav-item.bottom-nav-center:active .nav-icon-wrapper.nav-icon-center {
    transform: translateY(-8px) scale(0.95);
}

/* Ripple Effect Animation */
@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.bottom-nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-out;
}

.bottom-nav-item:active::before {
    animation: ripple 0.6s ease-out;
}

/* Safe Area Inset for devices with notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav-custom {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .bottom-nav-item .nav-label {
        font-size: 9px;
    }

    .bottom-nav-item i {
        font-size: 18px;
    }

    .bottom-nav-item.bottom-nav-center .nav-icon-wrapper.nav-icon-center {
        width: 48px;
        height: 48px;
    }

    .bottom-nav-item.bottom-nav-center i {
        font-size: 22px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .bottom-nav-custom {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .bottom-nav-item {
        color: #94a3b8;
    }

    .bottom-nav-item.active {
        color: #818cf8;
    }
}

/* ========================================
   MODERN SIDEBAR MENU (MOBILE/TABLET)
   ======================================== */

.sidebar-menu-custom {
    width: 320px;
    max-width: 85vw;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 11000;
}

.sidebar-menu-custom .offcanvas-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    color: white;
    border-bottom: none;
}

.sidebar-menu-custom .offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sidebar-menu-custom .offcanvas-header .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.sidebar-menu-custom .offcanvas-body {
    padding: 1.5rem;
    overflow-y: auto;
}

/* Sidebar Section */
.sidebar-section {
    margin-bottom: 1rem;
}

.sidebar-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Sidebar Navigation Links */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #334155;
    background: white;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.sidebar-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #ec4899 0%, #9333ea 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav-link i {
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav-link i.bi-chevron-right {
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-8px);
}

.sidebar-nav-link span {
    flex: 1;
    font-size: 0.95rem;
}

/* Hover State */
.sidebar-nav-link:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border-color: rgba(147, 51, 234, 0.2);
    color: #9333ea;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
}

.sidebar-nav-link:hover::before {
    transform: scaleY(1);
}

.sidebar-nav-link:hover i.bi-chevron-right {
    opacity: 1;
    transform: translateX(0);
}

/* Active State */
.sidebar-nav-link.active {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.3);
}

.sidebar-nav-link.active::before {
    transform: scaleY(1);
    background: #ffffff;
}

.sidebar-nav-link.active i.bi-chevron-right {
    opacity: 1;
    transform: translateX(0);
}

/* Search Button in Sidebar */
.sidebar-section .btn-outline-primary {
    border: 2px solid #9333ea;
    color: #9333ea;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-section .btn-outline-primary:hover {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(147, 51, 234, 0.3);
}

/* Select Picker in Sidebar */
.sidebar-section .form-select {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.3s ease;
}

.sidebar-section .form-select:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
}

/* Divider */
.sidebar-menu-custom hr {
    margin: 1.5rem 0;
    border-color: rgba(0, 0, 0, 0.08);
}

/* Scrollbar Styling */
.sidebar-menu-custom .offcanvas-body::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu-custom .offcanvas-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.sidebar-menu-custom .offcanvas-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ec4899 0%, #9333ea 100%);
    border-radius: 3px;
}

.sidebar-menu-custom .offcanvas-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #db2777 0%, #7e22ce 100%);
}

/* Animation for menu items */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-menu-custom.show .sidebar-nav-link {
    animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.sidebar-menu-custom.show .sidebar-nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.sidebar-menu-custom.show .sidebar-nav-link:nth-child(2) {
    animation-delay: 0.15s;
}

.sidebar-menu-custom.show .sidebar-nav-link:nth-child(3) {
    animation-delay: 0.2s;
}

.sidebar-menu-custom.show .sidebar-nav-link:nth-child(4) {
    animation-delay: 0.25s;
}

/* Backdrop Enhancement */
.offcanvas-backdrop.show {
    opacity: 0.5;
    backdrop-filter: blur(2px);
}

/* Responsive Adjustments */
@media (max-width: 375px) {
    .sidebar-menu-custom {
        width: 280px;
    }

    .sidebar-nav-link {
        padding: 0.875rem 1rem;
    }

    .sidebar-nav-link i {
        font-size: 1.125rem;
    }

    .sidebar-nav-link span {
        font-size: 0.875rem;
    }
}

/* Ensure sidebar is above bottom nav */
.sidebar-menu-custom {
    z-index: 1055 !important;
}

.offcanvas-backdrop {
    z-index: 1050;
}

/* Specific styling for bottom sheet modal backdrop */
.offcanvas-bottom~.offcanvas-backdrop {
    z-index: 1054;
}

#sidebarMenu {
    height: 100vh;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

/* Fix for offcanvas-bottom sheet modal */
.offcanvas-bottom {
    z-index: 1055 !important;
}

.offcanvas-bottom .card-filter {
    position: relative;
    z-index: 1056;
    background: white;
}

.offcanvas-bottom .offcanvas-body {
    position: relative;
    z-index: 1056;
}

.offcanvas-bottom {
    height: 75vh;
    max-height: 600px;
}

@media(max-width: 767px) {
    .product-action-section {
        position: fixed;
        bottom: 0px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px 15px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        border-radius: 20px 20px 0px 0px;
    }

    .countrypicker button.dropdown-toggle {
        width: 100%;
    }
}


.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#shareModal~.modal-backdrop,
.modal-backdrop {
    /* display: none !important; */
}

#shareModal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 243, 248, 0.7);
    pointer-events: none !important;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

#shareModal.show::before {
    opacity: 1;
}

#shareModal .modal-dialog {
    z-index: 1056;
    pointer-events: all !important;
}

#shareModal .modal-content {
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3) !important;
    pointer-events: all !important;
}

.share-btn {
    cursor: pointer !important;
    pointer-events: all !important;
}

/* ========================================
   MODERN PROFILE MENU STYLES
   ======================================== */

/* Search Button */
.btn-search-custom {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 2px solid rgba(255, 45, 149, 0.2);
    color: #d946ef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-custom:hover {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 50%, #9333ea 100%);
    border-color: transparent;
    color: white;
}

/* Cart Button */
.btn-cart-custom {
    width: 40px;
    height: 40px;
    color: #d946ef;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cart-custom:hover {
    /* background: linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%); */
    border-color: #FF2D95;
    color: #d946ef;
    transform: translateY(-2px);
    /* box-shadow: 0 0.5rem 1rem rgba(255, 45, 149, 0.2); */
}

.btn-cart-custom .top-total-cart {
    /* background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%); */
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -5px;
    right: -8px;
    box-shadow: 0 2px 8px rgba(255, 45, 149, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

/* ========================================
   User Menu (left sidebar) enhancements
   ======================================== */
.user-menu-card {
    background: linear-gradient(180deg, #ffffff 0%, #fdf5ff 100%);
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(217, 70, 239, 0.06);
    box-shadow: 0 6px 18px rgba(147, 51, 234, 0.03);
}

.user-menu-card .accordion-button {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.user-menu-card img.rounded-circle {
    border: 2px solid rgba(217, 70, 239, 0.08);
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.08), rgba(192, 38, 211, 0.06));
}

.user-menu-item {
    border-radius: 8px;
    transition: all .18s ease;
    color: #d946ef !important;
}

.user-menu-item:hover {
    transform: translateX(6px);
    background: linear-gradient(90deg, rgba(217, 70, 239, 0.04), rgba(192, 38, 211, 0.02));
    color: #d946ef !important;
}

.user-menu-item.active {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.12), rgba(192, 38, 211, 0.08));
    box-shadow: 0 6px 18px rgba(217, 70, 239, 0.06);
    color: #d946ef !important;
    font-weight: 700;
}

.user-menu-item.logout {
    color: #d946ef !important;
}

@media (max-width: 991px) {
    .user-menu-card {
        margin-bottom: .3rem;
    }
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Profile Avatar */
.profile-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.profile-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Profile Button */
.btn-profile-custom {
    /* padding: 0.5rem 1rem; */
    border-radius: 2rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    /* border: 2px solid rgba(255, 45, 149, 0.2); */
    color: #333;
}

.btn-profile-custom:hover {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border-color: rgba(255, 45, 149, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 45, 149, 0.2);
    color: #333;
}

.profile-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Dropdown Menu */
.dropdown-menu-profile {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    padding: 0;
    min-width: 280px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f9 100%);
}

.dropdown-menu-profile .dropdown-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 45, 149, 0.1);
}

.dropdown-menu-profile .dropdown-divider {
    margin: 0;
    border-color: rgba(255, 45, 149, 0.1);
}

.dropdown-item-custom {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: #333;
}

.dropdown-item-custom i.fa-chevron-right {
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown-item-custom:hover {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding-left: 2rem;
    color: #FF2D95;
}

.dropdown-item-custom:hover i.fa-chevron-right {
    opacity: 1;
}

.dropdown-item-logout {
    color: #dc3545;
}

.dropdown-item-logout:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    color: #dc3545;
}

/* Login & Register Buttons */
.btn-login-custom {
    background: transparent;
    border: 2px solid #FF2D95;
    color: #FF2D95;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login-custom:hover {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-color: #FF2D95;
    color: #FF2D95;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 45, 149, 0.2);
}

.btn-register-custom {
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    border: none;
    color: white;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register-custom:hover {
    background: linear-gradient(135deg, #e6297f 0%, #e65f2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 45, 149, 0.3);
    color: white;
}

@media(max-width: 407px) {
    .btn-register-custom {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .btn-profile-custom {
        padding: 0.5rem;
        min-width: 45px;
        justify-content: center;
    }

    .btn-login-custom,
    .btn-register-custom {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Transactions page styles (match Products look) */
.header-pill {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.12), rgba(255, 107, 53, 0.12));
    border-radius: 999px;
    color: #FF2D95;
    font-weight: 700;
}

.transactions-list .card-transaction {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.05);
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fffafc 100%);
}

.transactions-list .transaction-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.transactions-list .transaction-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.transactions-list .transaction-thumb img {
    max-width: 100%;
    height: auto;
}

.transactions-list .transaction-title {
    font-weight: 700;
    color: #222;
}

.transactions-list .transaction-price {
    color: #ff2d95;
    font-weight: 700;
}


/* Transaction Card Styling */
.transactions-list .card-transaction {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.transactions-list .card-transaction:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Thumbnails */
.transactions-list .transaction-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.transactions-list .transaction-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Badge Status */
/* .transactions-list .card-transaction .badge-status.success {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754 !important;
}

.transactions-list .card-transaction .badge-status.expired {
    background-color: rgb(246 255 53 / 10%) !important;
    color: #F5CE4E !important;
}

.transactions-list .card-transaction .badge-status.failed,
.transactions-list .card-transaction .badge-status.cancelled {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    white-space: nowrap;
} */

.badge-status {
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-status.success {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754 !important;
}

.badge-status.expired {
    background-color: rgb(246 255 53 / 10%) !important;
    color: #F5CE4E !important;
}

.badge-status.failed,
.badge-status.cancelled {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    white-space: nowrap;
}

.badge-status.pending {
    background: #fff7e6;
    color: #b36b00;
}

/* Titles and Text */
.transactions-list .card-transaction .transaction-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
}

.transactions-list .card-transaction .transaction-brand-name {
    font-size: 12px;
    color: #6c757d;
}

.transactions-list .card-transaction .transaction-inv {
    font-size: 12px;
    color: #95a5a6;
}

/* Price Section */
.transactions-list .card-transaction .transaction-price-unit {
    font-size: 13px;
    color: #6c757d;
}

.transactions-list .card-transaction .total-billed-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #95a5a6;
    margin-bottom: 4px;
}

.transactions-list .card-transaction .total-billed-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--bs-primary);

    /* Sesuai dengan product */
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Actions */
.transactions-list .card-transaction .btn-details {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.transactions-list .card-transaction .btn-details:hover {
    background-color: var(--bs-primary);
    color: white;
}

.transactions-list .card-transaction .btn-details:hover i {
    transform: translateX(3px);
}

/* Divider for multiple items */
.transactions-list .card-transaction .multiple-items-info {
    font-size: 11px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px dashed #dee2e6;
    margin-top: 12px;
}

/* Brand Logo */
.transactions-list .card-transaction .brand-logo-small {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 50%;
}

.card-reportrange {
    min-height: 38px !important;
}

@media (max-width: 767px) {
    .transactions-list .transaction-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .transactions-list .transaction-thumb {
        width: 56px;
        height: 56px;
    }
}

.text-custom-primary {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card accent + hover */
.transactions-list .card-transaction {
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

.transactions-list .card-transaction:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(147, 51, 234, 0.08);
}

.transaction-meta {
    min-width: 160px;
}

@media (max-width: 991px) {
    .transaction-meta {
        text-align: left;
        min-width: auto;
    }

    .transactions-list .card-transaction {
        padding: 0.9rem;
    }
}

/* Modern search input for transactions page */
.input-search-custom {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.03), rgba(255, 107, 53, 0.03));
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(255, 45, 149, 0.06);
}

.input-search-custom .input-group-text {
    background: transparent;
    border: none;
    color: #FF2D95;
}

.input-search-custom .form-control {
    border: none;
    background: transparent;
    height: 40px;
    padding-left: 6px;
}

.input-search-custom:focus-within {
    box-shadow: 0 6px 18px rgba(255, 45, 149, 0.06);
}

.text-white {
    color: white;
}

.slide-brand img.translate-middle-y {
    top: calc(100% - 13px - 50%);
    left: 0;
    right: 0;
    max-height: 100%;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
    padding: 10px 0;
}

/* Category UI Improvements */
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
    margin: 10px;
}

.category-item .icon-wrapper {
    width: 65px;
    height: 65px;
    min-width: 65px;
    aspect-ratio: 1/1;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 375px) {
    .category-item .icon-wrapper {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
}

@media (min-width: 576px) {
    .category-item .icon-wrapper {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
}

@media (min-width: 992px) {
    .category-item .icon-wrapper {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }
}

.category-item:hover .icon-wrapper {
    background-color: #fff;
    transform: translateY(-2px);
    border-color: var(--bs-primary);
}

.category-item .icon-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0;
}

.category-item .category-name {
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
    color: #333;
    max-width: 100px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Adjust Slick Slider for Categories to allow overflow/padding for shadows */
.category .slick-list {
    padding: 10px 0 !important;
    /* Space for hover effects */
}

/* Category Grid Layout Updates */
.category-item {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    /* 4 items per row on mobile by default */
    margin: 15px 0;
    /* Vertical spacing */
    padding: 0 5px;
    /* Horizontal spacing */
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .category-item {
        width: 20%;
        flex: 0 0 20%;
        max-width: 20%;
        /* 5 items per row on small tablets */
    }
}

@media (min-width: 768px) {
    .category-item {
        width: 16.666%;
        flex: 0 0 16.666%;
        max-width: 16.666%;
        /* 6 items per row on tablets */
    }
}

@media (min-width: 992px) {
    .category-item {
        width: 12.5%;
        flex: 0 0 12.5%;
        max-width: 12.5%;
        /* 8 items per row on desktop */
    }
}

/* Ensure centering of content within the item */
.category-item {
    align-items: center;
    text-align: center;
}

/* Override previous margin which might be too large for grid */
.category-item {
    margin: 10px 0;
}

.img-not-found {
    width: 100%;
    max-width: 280px;
}

.back-to-top {
    bottom: var(--back-to-top-bottom, 30px) !important;
}


/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 250px;
    max-width: 90vw;
}

.toast-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.toast-content i {
    font-size: 18px;
    color: #d4edda;
}

@media (max-width: 480px) {
    .toast-notification {
        top: 15px;
        padding: 12px 20px;
        min-width: 200px;
    }

    .toast-content {
        font-size: 13px;
        gap: 10px;
    }

    .toast-content i {
        font-size: 16px;
    }
}

/* ========================================
   Modern Bootbox Dialog Styles
   ======================================== */

/* Bootbox backdrop */
.custom-bootbox-dialog-confirm .modal-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.6);
}

/* Main dialog */
.custom-bootbox-dialog-confirm .modal-dialog {
    max-width: 480px;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.custom-bootbox-dialog-confirm .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Dialog header */
.custom-bootbox-dialog-confirm .modal-header {
    border-bottom: none;
    padding: 24px 32px 12px;
    background: transparent;
}

.custom-bootbox-dialog-confirm .modern-bootbox-title {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 100%;
}

/* Dialog body */
.custom-bootbox-dialog-confirm .modal-body {
    padding: 12px 32px 24px;
}

.custom-bootbox-dialog-confirm .modern-bootbox-content {
    text-align: center;
}

.custom-bootbox-dialog-confirm .modern-bootbox-icon {
    margin-bottom: 20px;
}

.custom-bootbox-dialog-confirm .modern-bootbox-icon i {
    font-size: 64px;
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: modernPulse 2s infinite;
}

@keyframes modernPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.custom-bootbox-dialog-confirm .modern-bootbox-message {
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
}

.custom-bootbox-dialog-confirm .modern-bootbox-message small {
    display: block;
    margin-top: 8px;
}

/* Dialog footer */
.custom-bootbox-dialog-confirm .modal-footer {
    border-top: none;
    padding: 0 32px 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Buttons */
.custom-bootbox-dialog-confirm .btn-confirm-custom {
    flex: 1;
    max-width: 180px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, #FF2D95 0%, #FF6B35 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 45, 149, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-bootbox-dialog-confirm .btn-confirm-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 149, 0.5);
}

.custom-bootbox-dialog-confirm .btn-confirm-custom:active {
    transform: translateY(0);
}

.custom-bootbox-dialog-confirm .btn-cancel-custom {
    flex: 1;
    max-width: 180px;
    padding: 12px 24px;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-bootbox-dialog-confirm .btn-cancel-custom:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

/* Animations */
.custom-bootbox-dialog-confirm.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-30px);
}

.custom-bootbox-dialog-confirm.modal.show .modal-dialog {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 576px) {
    .custom-bootbox-dialog-confirm .modal-header {
        padding: 20px 24px 10px;
    }

    .custom-bootbox-dialog-confirm .modern-bootbox-title {
        font-size: 20px;
    }

    .custom-bootbox-dialog-confirm .modal-body {
        padding: 10px 24px 20px;
    }

    .custom-bootbox-dialog-confirm .modern-bootbox-icon i {
        font-size: 48px;
    }

    .custom-bootbox-dialog-confirm .modal-footer {
        padding: 0 24px 24px;
        flex-direction: row;
        gap: 8px;
    }

    .custom-bootbox-dialog-confirm .btn-confirm-custom,
    .custom-bootbox-dialog-confirm .btn-cancel-custom {
        max-width: 50%;
        flex: 1;
        padding: 10px 16px;
        font-size: 14px;
    }
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}

input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    border-color: #d946ef;
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

input[type="checkbox"]:hover {
    border-color: #d946ef;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1);
}

.bg-light-pink {
    background: linear-gradient(135deg, #ffcfe3 0%, #ffd4e3 100%);
    color: white;
}

.bg-pink {
    background: linear-gradient(135deg, #FF2D95 0%, #ea1079 100%);
    color: white;
}

.text-pink {
    color: #FF2D95;
    background-image: linear-gradient(135deg, #FF2D95 0%, #ea1079 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light-purple {
    background: linear-gradient(135deg, #fae8ff 0%, #f5d0fe 100%);
    color: #d946ef;
}

.bg-purple {
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    color: white;
}

.text-purple {
    color: #d946ef;
    background-image: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-light-pink {
    /* border: none !important; */
    border: 1px #fff2f9 solid !important;
    background: #fff2f9;
    color: #FF2D95;
    transition: all 0.3s ease;
}

.btn-light-pink:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #FF2D95 0%, #ea1079 100%);
    color: white;
}

.btn-pink {
    background: linear-gradient(135deg, #FF2D95 0%, #ea1079 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 45, 149, 0.3);
    color: white;
}

.btn-light-purple {
    border: 1px #fae8ff solid !important;
    background: #fae8ff;
    color: #d946ef;
    transition: all 0.3s ease;
}

.btn-light-purple:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    color: white;
}

.btn-purple {
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(217, 70, 239, 0.3);
    color: white;
}

.btn-secondary-custom {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(108, 117, 125, 0.3);
}

.btn-outline-pink {
    border-color: #FF2D95;
    color: #FF2D95;
    transition: all 0.3s ease;
}

.btn-outline-pink:hover {
    background: linear-gradient(135deg, #FF86B8 0%, #FF5A96 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 0rem .5rem rgba(255, 45, 149, 0.3);
}

.btn-outline-purple {
    border-color: #d946ef;
    color: #d946ef;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background: linear-gradient(135deg, #e879f9 0%, #d946ef 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 0rem .5rem rgba(217, 70, 239, 0.3);
}

.btn-check.btn-pink:checked+.btn,
.btn.btn-pink:first-child:active {
    border: 1px solid transparent;
    /* border-image: linear-gradient(135deg, #FF2D95 0%, #ea1079 100%); */
    border-image-slice: 1;
    background: linear-gradient(135deg, #FF2D95 0%, #ea1079 100%) !important;
    color: white;
}

.btn-check.btn-purple:checked+.btn,
.btn.btn-purple:first-child:active {
    border: 1px solid transparent;
    border-image-slice: 1;
    background: linear-gradient(135deg, #d946ef 0%, #c026d3 100%) !important;
    color: white;
}

.btn-hover {
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(255, 45, 149, 0.3);
}

/* a.link {
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: underline !important;
}

a.link.text-decoration-underline {
    text-decoration: underline;
} */

a.link {
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
    /* Memastikan underline default hilang */
    position: relative;
    display: inline-block;
}

/* Kondisi: Underline muncul HANYA jika ada class .text-decoration-underline */
a.link.text-decoration-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    /* Jarak garis dari teks */
    width: 100%;
    height: 2px;
    /* Ketebalan garis */
    background: linear-gradient(90deg, #ec4899 0%, #9333ea 100%);
    -webkit-text-fill-color: initial;
    /* Reset agar background terlihat sebagai bar */
}

.img-rounded {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Bootbox Custom */
.bootbox-custom .modal-dialog {
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

@media (max-width: 991px) {
    .bootbox-custom .modal-dialog {
        padding-left: 5px;
        padding-right: 5px;
    }
}


.bootbox-custom .modal.show .modal-dialog {
    display: flex;
    align-items: center;
}

.bootbox-custom .modal-content {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f9 100%);
}

.bootbox-custom .modal-header {
    border-bottom: 1px solid rgba(255, 45, 149, 0.1);
    padding: 2rem 2rem 1rem;
    background: transparent;
    position: relative;
}

.bootbox-custom .modal-body {
    padding: 0 2rem 1.5rem;
}

.bootbox-custom .modal-footer {
    border-top: 1px solid rgba(255, 45, 149, 0.1);
    padding: 1.5rem 2rem;
    background: transparent;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
}

.bootbox-custom .modal-footer .btn {
    margin: 0;
    flex: 1;
}

.bootbox-custom .btn-close-custom {
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 10;
}

.bootbox-custom .btn-close-custom:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.bootbox-custom .form-control {
    border-radius: 0.5rem;
    /* border: 1px solid #dee2e6; */
    transition: all 0.3s ease;
}

.bootbox-custom .form-control:focus {
    /* border-color: #FF2D95; */
    box-shadow: 0 0 0 0.25rem rgba(255, 45, 149, 0.15);
}

/* Spinner Buttons */
.qty-spinner {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qty-spinner:focus-within {
    border-color: #d946ef;
    box-shadow: 0 0 0 0px rgba(217, 70, 239, 0.1);
}

.qty-spinner .spinner-buttons {
    border-radius: 50% !important;
    overflow: hidden;
}

.qty-spinner .spinner-buttons button {
    border: none;
    background: white;
    color: #d946ef;
    transition: all 0.3s ease;
    font-weight: 700;
}

.qty-spinner .spinner-buttons button:hover {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    color: #9333ea;
}

.qty-spinner .spinner-input {
    border: none;
    font-weight: 700;
    color: #1a1a1a;
    background: transparent !important;
    margin-left: 2px;
    margin-right: 2px;
}

/* Custom Add Contact Button Style */
.btn-add-contact-custom {
    background: white;
    border: 1px solid #FF2D95;
    /* Match pink theme */
    border-radius: 12px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF2D95;
    transition: all 0.3s;
    font-weight: 500;
    line-height: normal;
    /* Fix vertical alignment */
    padding: 0 1rem;
}

.btn-add-contact-custom:hover {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.03), rgba(255, 107, 53, 0.03));
    box-shadow: 0 6px 18px rgba(255, 45, 149, 0.1);
    color: #d92027;
    /* Darker pink/red on hover */
    border-color: rgba(255, 45, 149, 0.5);
}

/* Action Buttons */
.btn-action-custom {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-action-edit {
    color: #9333ea;
    border-color: rgba(147, 51, 234, 0.3);
    background: rgba(147, 51, 234, 0.05);
}

.btn-action-edit:hover {
    background: #9333ea;
    color: #fff;
    border-color: #9333ea;
}

.btn-action-main {
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
    background: rgba(40, 167, 69, 0.05);
}

.btn-action-main:hover {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.btn-action-delete {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
}

.btn-action-delete:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Share Modal Styles */
.custom-bootbox-share .share-modal-header {
    background: linear-gradient(135deg, #fef3f8 0%, #f8f4ff 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.custom-bootbox-share .share-modal-title {
    color: #ec4899;
    font-weight: 700;
    margin: 0;
}

.custom-bootbox-share .share-btn-close-custom {
    z-index: 105;
    right: 1rem !important;
}

.custom-bootbox-share .share-modal-body {
    padding: 1rem;
    background: white;
}

.custom-bootbox-share .share-desc {
    color: #6b7280;
    font-size: 0.95rem;
}

.custom-bootbox-share .share-btn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s;
    min-width: 90px;
    border: 2px solid transparent;
}

.custom-bootbox-share .share-btn-blue {
    background: #f0f9ff;
}

.custom-bootbox-share .share-btn-green {
    background: #f0fdf4;
}

.custom-bootbox-share .share-btn-pink {
    background: #fef3f8;
}

.custom-bootbox-share .share-btn-purple {
    background: #fae8ff;
}

.custom-bootbox-share .share-btn-icon {
    font-size: 36px;
    margin-bottom: 0.5rem;
}

.custom-bootbox-share .share-btn-text {
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
}

/* Icon specific colors */
.custom-bootbox-share .share-icon-facebook {
    color: #1877f2;
}

.custom-bootbox-share .share-icon-linkedin {
    color: #0a66c2;
}

.custom-bootbox-share .share-icon-twitter {
    color: #1da1f2;
}

.custom-bootbox-share .share-icon-whatsapp {
    color: #25d366;
}

.custom-bootbox-share .share-icon-copy {
    color: #ec4899;
}

.custom-bootbox-share .share-btn-red {
    background: #fef2f2;
}

.custom-bootbox-share .share-icon-telegram {
    color: #229ED9;
}

.custom-bootbox-share .share-icon-envelope {
    color: #EA4335;
}

/* Custom Close Button for Bookbox Share Modal */
.custom-bootbox-share .btn-close-custom {
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 10;
}

.custom-bootbox-share .btn-close-custom:hover {
    opacity: 1;
    transform: rotate(90deg);
}


body.modal-open {
    overflow: hidden !important;
}

.spinner-gradient {
    width: 3rem;
    height: 3rem;
    display: inline-block;
    vertical-align: text-bottom;
    border-radius: 50%;

    background: conic-gradient(from 135deg,
            #ec4899 0%,
            #d946ef 50%,
            #9333ea 100%);

    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);

    animation: spinner-border .75s linear infinite;
}

.spinner-gradient-sm {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: -0.125em;
    border-radius: 50%;

    background: conic-gradient(from 135deg,
            #ec4899 0%,
            #d946ef 50%,
            #9333ea 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0);

    animation: spinner-border .75s linear infinite;
}

.form-control:focus {
    border-color: #d946ef;
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.1);
}

.filter-sticky {
    top: 90px !important;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: none;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.filter-sticky::-webkit-scrollbar {
    width: 6px;
}

.filter-sticky::-webkit-scrollbar-track {
    background: transparent;
}

.filter-sticky::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.bg-light-success {
    background-color: #d1e7dd !important;
    color: #0a3622 !important;
}

.btn-check+.btn:hover {
    color: white !important;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: #d4d4d4;
    pointer-events: none;
    background-color: var(--bs-btn-disabled-bg);
    border-color: none !important;
    opacity: var(--bs-btn-disabled-opacity);
}

.btn-rounded {
    padding: 10px 25px;
    border-radius: 999px;
    border: none;
}