.ps-product .ps-product__thumbnail img {
    border-radius: 8px !important;
}

#berhasil_notif{
    display: block;
    position: relative;
    padding: 16px;
    box-shadow: 0 1px 6px 0 var(--color-shadow,rgba(49,53,59,0.12));
    background-color: var(--color-card,#FFFFFF);
    cursor: default;
    border-radius: 8px;
    margin: 16px 0px 28px;
    height: 100px;
}
.mega-menu{
    padding: 0px 15px 10px;
}
.menu-custom{
    padding-left: 15px !important;
}
.menu-custom li{
    border-bottom: 1px solid #dedede;
}

.menu-custom li:last-child{
    border:none
}

.menu-custom a{
    display: block;
    color: #000;
    line-height: 20px;
    padding: 5px 0;
    font-size: 14px;
    background-color: transparent;
}

.biodata .form-group{
    /* border-bottom: 1px dotted #cecece !important; */
}

.form-mini{
    padding: 0 10px !important;
    height: 30px !important;
}

.auth .form-group{
    border-bottom: 1px dotted #fff !important;
}

.form-auth{
    padding: 0 10px !important;
    height: 40px !important;
}
.selected-ongkir1{ background-color:#cecece; }
.selected-ongkir2{ background-color:#cecece; }
.selected-ongkir3{ background-color:#cecece; }

.blink_me{
    animation:blinker 1s linear infinite;color:red
}
.blink_me:hover{
    animation:blinker 0s linear infinite;color:red
}
@keyframes blinker{
    50%{opacity:0}
}
.text-yellow{
    color:orange !important;
}

.text-green{
    color:green !important;
}

.text-blue{
    color:blue !important;
}

.header .header__topone {
padding: 3px 0;
background-color: #f7f7f7 !important;
border-bottom: none;
}

.header .header__topone .container {
display: -webkit-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
  flex-flow: row nowrap;
-webkit-box-pack: justify;
  justify-content: space-between;
-webkit-box-align: center;
  align-items: center;
}

.header .header__topone .header__left {
max-width: 30%;
}

.header .header__topone .header__left p {
margin-bottom: 0;
color: #666666;
line-height: 30px;
}

.header .header__topone .header__left p strong {
color: #000;
}

.header .header__topone .header__right {
text-align: right;
max-width: 70%;
}

.header.header--sticky .header__topone {
position: relative;
}
.header .header__top-links {
width: 100%;
}

.header .header__top-links > li {
display: inline-block;
margin-right: 5px;
padding-right: 12px;
position: relative;
}

.header .header__top-links > li:after {
content: '';
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right: 0;
height: 15px;
width: 0;
border-right: 1px solid #e1e1e1;
}

.header .header__top-links > li > a {
color: #666666;
}

.header .header__top-links > li:last-child {
margin-right: 0;
padding-right: 0;
}

.header .header__top-links > li:last-child:after {
display: none;
}

.header .header__top-links .language > a img {
margin-right: 5px;
}

.header .header__top-links .ps-block--user-header .ps-block__left i {
font-size: 14px;
}

.header .header__top-links .ps-block--user-header .ps-block__right a {
display: inline-block;
font-weight: 400;
margin-right: 10px;
color: #666666;
}

.header .header__top-links .ps-block--user-header .ps-block__right a:first-child:after {
content: '';
padding-left: 0px;
}

.header .header__top-links .ps-block--user-header .ps-block__right a:hover {
color: #fcb800;
}

.header .header__topone {
padding: 3px 0;
background-color: #fff;
border-bottom: none;
}

.header .header__topone .container {
display: -webkit-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
  flex-flow: row nowrap;
-webkit-box-pack: justify;
  justify-content: space-between;
-webkit-box-align: center;
  align-items: center;
}

.header .header__topone .header__left {
max-width: 30%;
}

.header .header__topone .header__left p {
margin-bottom: 0;
color: #666666; 
line-height: 30px;
}

.header .header__topone .header__left p strong {
color: #000;
}

.header .header__topone .header__right {
text-align: right;
max-width: 70%;
}

.gray-btn{
    background: #4e4044 !important;
}

.red-btn{
    background: #ab0000 !important;
}

.blue-btn{
    background: #004e9e !important;
}

.gray-btn:hover, .red-btn:hover, .blue-btn:hover{
    background:#000 !important;
}

.ps-dropdown ul{
    min-width: 230px !important;
}

.ps-dropdown-menu a {
    display: block !important;
}

.ps-dropdown ul li a{
    color:#666666 !important;
}

.ps-dropdown ul li a:hover{
    color:#000 !important;
}

.populer b{
    margin-right:15px
}

.populer a{
    display: inline-block;
    color: #8a8a8a;
}

.populer a::after{
    content: '|';
    height: 15px;
    padding: 0 10px;
}

.populer a:last-child::after{
    content: '';
}

.ps-shopping-product .ps-product{
    border:none;
}

.ps-shopping-product .ps-product:hover{
    border-top:1px solid #26901b;
    border-right:1px solid #26901b;
    border-left:1px solid #26901b;
}

.product__header{
    border-bottom: 1px solid #cecece;
    margin-bottom:25px
}

.product__header h1{
    font-size: 30px;
    font-weight:400;
}

.sub_title p{
    display: inline-block;
}

.sub_title p::after{
    content: '|';
    height: 15px;
    padding: 0 10px;
}

.sub_title p:last-child::after{
    content: '';
}

.sub_title .br-theme-fontawesome-stars{
    display: inline-block;
}

.ps-widget--account-dashboard .ps-widget__content ul {
    margin: 0;
    padding: 0;
    border: aliceblue;
    list-style: none;
}
.ps-widget--account-dashboard .ps-widget__content ul li {
    border-bottom: 1px solid #d1d1d1;
}
.ps-widget--account-dashboard .ps-widget__content ul li a {
    display: block;
    padding: 10px 20px;
    line-height: 20px;
    font-weight: 500;
    color: #000;
    text-transform: capitalize;
}
.ps-widget--account-dashboard .ps-widget__content ul li a:hover {
    background: #e3e3e3;
}
.ps-widget--account-dashboard .ps-widget__content ul li a.active {
    background: #cecece;
}
.ps-widget--account-dashboard .ps-widget__content ul i {
  font-weight: bold;
    font-size: larger;
    padding-right:5px
}

.menu__sub-product-price, .menu__sub-product-price-second{
    font-weight:bold;
}

.header-placeholder {
    height: 0;
    width: 100%;
}

.ppob .col-lg-5 {
    border: 1px solid #e3e3e3;
    padding: 10px 30px;
}

.btn-pulsa{
    width:160px;
}

.dropdown {
    position: absolute;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-left: -160px;
    background-color: #f9f9f9;
    min-width: 190px;
    z-index: 1;
    border: 1px solid #e3e3e3;
}

.dropdown-content a {
    color: black;
    padding: 3px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover { background-color: #fff }
.dropdown:hover .dropdown-content { display: block; }


@media (min-width: 992px){
    .ppob .col-lg-5 {
        border: 1px solid #e3e3e3;
        padding: 10px 30px;
        margin: 10px 30px;
    }
}

@media (max-width:767px){
    .btn-pulsa{
        width:92% !important;
    }
}

/* Sticky Whole Header Slow Motion Fix */
.header.header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: slideDownSlow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.header.header--sticky .header__topone {
    display: none; /* Hide the very top bar to save space */
}

.header.header--sticky .header__top {
    padding: 10px 0;
}

@keyframes slideDownSlow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

.header-placeholder {
    display: none;
    width: 100%;
}

/* Category Icon Styling */
.category-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f7f7f7; /* Background lingkaran */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border: none;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-icon-circle i {
    font-size: 30px;
    color: #555;
}

.category-icon-circle img {
    max-width: 60%;
    max-height: 60%;
}

.ps-block--category:hover .category-icon-circle {
    background-color: #0c9da5 !important;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(12, 157, 165, 0.2);
}

.ps-block--category:hover p {
    color: #0c9da5 !important;
    transform: translateY(-2px);
}

.ps-block--category p {
    transition: all 0.3s ease;
}

/* 10-Column Categories Grid (Like Reference) */
.ps-categories-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}
.ps-top-categories {
    background: #fff;
    padding: 10px 0;
}

.ps-categories-grid .ps-block--category {
    flex: 0 0 10%; /* 10 columns on XL */
    max-width: 10%;
    position: relative; /* KUNCI PERBAIKAN: Membatasi klik overlay hanya di dalam kotak ini */
    border: none;
    padding: 0px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.ps-categories-grid .ps-block--category:nth-child(10n) {
    border-right: none;
}

.ps-categories-grid .ps-block--category p {
    font-size: 11px;
    font-weight: 600;
    margin-top: 12px;
    line-height: 1.2;
    color: #333;
    transition: color 0.3s ease;
}

.ps-categories-grid .category-icon-circle {
    width: 65px;
    height: 65px;
    background-color: #f0f0f0;
    border: none;
}

/* Responsiveness for the 10-column grid */
@media (max-width: 1400px) {
    .ps-categories-grid .ps-block--category {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }
}

@media (max-width: 1200px) {
    .ps-categories-grid .ps-block--category {
        flex: 0 0 16.666%;
        max-width: 16.666%;
    }
}

@media (max-width: 991px) {
    .ps-categories-grid .ps-block--category {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 767px) {
    .ps-categories-grid .ps-block--category {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 480px) {
    .ps-categories-grid .ps-block--category {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Notification Dropdown */
.ps-block--notify {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.ps-block--notify .ps-block__content {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid #e1e1e1;
    margin-top: 10px; /* Space from icon */
}

/* Arrow/Triangle */
.ps-block--notify .ps-block__content:before {
    content: "";
    position: absolute;
    top: -8px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.ps-block--notify:hover .ps-block__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ps-block--notify .header {
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    color: #000;
}

.ps-block--notify .body {
    padding: 30px;
    min-height: 150px;
    color: #777;
    font-size: 14px;
}

.ps-block--notify .footer {
    display: flex;
    border-top: 1px solid #eee;
}

.ps-block--notify .footer a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.ps-block--notify .footer .btn-mark {
    color: #28a745;
    border-right: 1px solid #eee;
}

.ps-block--notify .footer .btn-view {
    color: #28a745;
}

.ps-block--notify .footer a:hover {
    background: #f9f9f9;
    text-decoration: none;
}

/* Mobile Mode Category (Teal/Bright) */
@media (max-width: 767px) {
    .ps-top-categories.d-block.d-md-none {
        background: #0c9da5 !important; /* Theme Teal */
        padding: 25px 0 15px 0 !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
    .ps-top-categories.d-block.d-md-none h3 {
        color: #fff !important;
        margin-bottom: 20px !important;
        font-size: 18px !important;
    }
    .ps-top-categories.d-block.d-md-none .ps-block--category p {
        color: #fff !important;
        font-weight: 700 !important;
        margin-top: 10px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    .ps-top-categories.d-block.d-md-none .category-icon-circle {
        background: rgba(255, 255, 255, 0.2) !important;
        border: none !important;
        padding: 0;
    }
    .ps-top-categories.d-block.d-md-none .category-icon-circle i {
        color: #fff !important;
    }
    .ps-top-categories.d-block.d-md-none .ps-categories-grid {
        background: transparent !important;
        border: none !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ps-top-categories.d-block.d-md-none .ps-categories-grid::-webkit-scrollbar {
        display: none;
    }
    .ps-top-categories.d-block.d-md-none .ps-block--category {
        flex: 0 0 85px !important;
        max-width: 85px !important;
        padding: 10px 5px !important;
    }
}

/* Desktop Mode Category (White Grid - as per image) */
@media (min-width: 768px) {
    .ps-top-categories.d-none.d-md-block {
        background: #fff !important;
    }
    .ps-top-categories.d-none.d-md-block h3 {
        color: #333 !important;
    }
    .ps-top-categories.d-none.d-md-block .ps-block--category p {
        color: #333 !important;
    }
}

/* Fix for 'Lihat Detail' button being cut off in carousels on hover */
.owl-carousel .owl-stage-outer {
    padding-bottom: 150px !important;
    margin-bottom: -150px !important;
}
