.mx-25 {
  margin: 35px 0 35px 0 !important;
}
.pb-05 {
   padding-bottom: .10rem!important;
}
.font-s-2 {
  font-size: 25px;
}
.black-bg {
   background-color: #000000;
}
.custom-nav {
  border: 1px solid #eee;
  font-size: 16px;
  background-color: white;
}

.custom-nav .nav-item {
  border-bottom: 1px solid #eee;
}

.custom-nav .nav-link {
  color: #444;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s;
}

.custom-nav .nav-link:hover {
  background-color: #f8f9fa;
  color: #000;
}

.custom-nav .nav-link.active {
  background-color: #363F4D;
  color: #fff;
  font-weight: bold;
}

.custom-nav .nav-link.active::after {
  content: "›";
  font-weight: bold;
  margin-left: auto;
}

.custom-nav .nav-link.disabled {
  color: #bbb;
  cursor: not-allowed;
}

.logout-button {
  display: block;
  border: 1px solid #ccc;
  text-align: center;
  padding: 10px;
  margin-top: 12px;
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

.logout-button:hover {
  background-color: #f5f5f5;
}

.theme-3 section.custom {
   margin: 0 !important;
}

.select2-container .select2-selection--single {
   height: auto !important;
}

.checkout-form .select2-selection {
   padding: 7px 5px;
}

.page-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* Heading hierarchy */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  color: #222;
}

.page-content h1 { font-size: 2rem; }
.page-content h2 { font-size: 1.75rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content h4 { font-size: 1.25rem; }
.page-content h5 { font-size: 1.125rem; }
.page-content h6 { font-size: 1rem; }

/* Paragraphs */
.page-content p {
  margin-bottom: 1em;
  line-height: 1.7;
}

/* Unordered lists */
.page-content ul {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.page-content ul li {
  margin-bottom: 0.5em;
  list-style-type: disc !important;
  list-style-position: outside !important;
}

/* Ordered lists */
.page-content ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

.page-content ol li {
  margin-bottom: 0.5em;
  list-style-type: decimal !important;
  list-style-position: outside !important;
}

/* Bold & italic */
.page-content strong {
  font-weight: 600;
  color: #111;
}
.page-content em {
  font-style: italic;
}

/* Images inside content */
.page-content img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 6px;
}

/* Blockquotes */
.page-content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  margin: 1.5em 0;
  color: #555;
  font-style: italic;
}

/* Links */
.page-content a {
  color: #0073e6;
  text-decoration: none;
}
.page-content a:hover {
  text-decoration: underline;
}

/* Tables */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}
.page-content table th,
.page-content table td {
  border: 1px solid #ddd;
  padding: 0.75em;
  text-align: left;
}
.page-content table th {
  background-color: #f8f8f8;
  font-weight: 600;
}

/* Code block & inline code */
.page-content pre,
.page-content code {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  background: #f5f5f5;
  border-radius: 4px;
}

.page-content pre {
  padding: 1em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.page-content code {
  padding: 0.2em 0.4em;
}

.map-container {
  position: relative;
  padding-bottom: 25.25%;
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Bottom overlay seperti Palm Angels */
.slider-area {
  position: relative;
}

.slider-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.45);
  padding: 18px 0;
  z-index: 2;
}

.slider-label {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
}

.slider-arrow {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}

.slider-arrow:hover {
  color: #fff;
}

/* ===== Address header responsive ===== */
.address-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

/* tombol normal desktop */
.btn-add-address{
    white-space:nowrap;
}

/* ===============================
   SELECT2 + BOOTSTRAP 4 PERFECT FIX
=============================== */

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: calc(2.25rem + 2px) !important; /* match BS4 */
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}

.select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
}

.select2-selection__arrow {
    height: 100% !important;
    right: 8px !important;
}

/* 🔥 SUPER IMPORTANT — modal fix */
.select2-container--open {
    z-index: 9999 !important;
}

/* dropdown width fix */
.select2-dropdown {
    z-index: 9999 !important;
}

/* fix text vertical */
.select2-selection__rendered {
    display: flex !important;
    align-items: center;
    height: 100%;
}

.select2-results__option.loading-results {
    color: #999;
    font-style: italic;
}

.select2-container span {
  display: revert;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 576px){

    .address-header{
        flex-direction:column;
        align-items:stretch;
    }

    .btn-add-address{
        width:100%;
        margin-top:6px;
        padding:10px;
        font-size:14px;
    }

    .address-header label{
        margin-bottom:4px;
        font-size:14px;
    }
}

@media (min-width: 992px) {
  .slider-type-2 .slider-area.slider-custom {
     height: 600px;
  }
}

.payment-method-item {
  display: flex;
  align-items: center;
  border: 1px solid #e6edf0;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #fff;
  position: relative;
}

.payment-method-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-item img {
  width: 68px;
  min-width: 68px;
  max-height: 34px;
  object-fit: contain;
  margin-right: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
}

.payment-method-item span {
  font-weight: 600;
  color: #222;
}

.payment-method-item i.fa-check-circle {
  margin-left: auto;
  font-size: 20px;
  display: none;
  color: #1d9b66;
}

.payment-method-item.active {
  background: #e9f7ef;
  border-color: #85cf9b;
}

/* ===============================
   PAYMENT INSTRUCTIONS WRAPPER
================================ */
.payment-instructions {
    background: #fff;
    border-radius: 8px;
    padding: 16px 18px;
    border: 1px solid #e6e8eb;
    font-size: 14px;
    line-height: 1.6;
}

/* Section title */
.payment-instructions h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #111827;
}

/* ===============================
   SECTION HEADINGS
================================ */
.payment-instructions h5,
.payment-instructions h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 18px 0 8px;
    color: #111827;
}

/* ===============================
   ORDERED LIST (NUMBERED STEPS)
================================ */
.payment-instructions ol {
    list-style: decimal !important;
    padding-left: 20px;
    margin-bottom: 12px;
}

.payment-instructions ol li {
    margin-bottom: 8px;
    color: #374151;
    list-style-type: decimal !important;
}

/* ===============================
   INFO / NOTE BOX (BLUE BOX)
================================ */
.payment-instructions .info-box {
    background: #eef4ff;
    border-left: 4px solid #3b82f6;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #1e3a8a;
}

/* ===============================
   VIRTUAL ACCOUNT NUMBER
================================ */
.payment-instructions .va-number {
    font-weight: 600;
    color: #2563eb;
}

/* ===============================
   QR IMAGE
================================ */
.payment-instructions img {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
}

/* ===============================
   TEXTAREA (QR PAYLOAD)
================================ */
.payment-instructions textarea {
    font-size: 13px;
    background: #f9fafb;
    border-radius: 6px;
    margin-top: 8px;
}

/* ===============================
   EXPIRED TIME
================================ */
.payment-instructions .text-danger {
    font-size: 13px;
    font-weight: 500;
}

/* ===============================
   PAYMENT TABS (ATM / MBANKING)
================================ */
.payment-tabs {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.payment-tabs a {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    display: inline-block;
    color: #6b7280;
    text-decoration: none;
}

.payment-tabs a.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

/* Hover effect untuk card */
.order-card:hover {
    transform: translateY(-2px);
    transition: 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* Timeline styling */
.timeline {
 border-left: 3px solid #28a745;
 padding-left: 15px;
 position: relative;
}

.timeline li::before {
 content: '';
 position: absolute;
 left: -8px;
 top: 5px;
 width: 12px;
 height: 12px;
 background-color: #28a745;
 border-radius: 50%;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #28a745;
  opacity: 0.2;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #28a745;
}
.btn-p-primary {
  padding: 10px 25px;
  border-radius: 50px;
}
/* ======= CARD STYLE ======= */
.wishlist-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all .25s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.wishlist-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.wishlist-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #f9f9f9;
}

/* Tombol Hapus */
.btn-remove-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #dc3545;
    transition: background .2s ease;
}
.btn-remove-wishlist:hover {
    background: #fff;
    color: #b71c1c;
}

.wishlist-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px;
}
.wishlist-card h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.3;
}
.wishlist-card small {
    color: #777;
    font-size: 12px;
}

/* Harga */
.wishlist-price {
    font-weight: 700;
    color: var(--bs-primary);
    font-size: 14px;
    margin-top: auto;
}

/* Tombol aksi */
.wishlist-actions {
    display: flex;
    gap: .4rem;
    margin-top: 10px;
}
.wishlist-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 7px 0;
    border-radius: 8px;
}
.btn-detail {
    background: var(--bs-light);
    color: #db2e22;
    border: 1px solid #db2e22;
    font-weight: 500;
    transition: all .2s;
}
.btn-detail:hover {
    background: #db2e22;
    color: #fff;
}

/* ======= EMPTY STATE ======= */
.wishlist-empty {
    padding: 60px 20px;
    text-align: center;
}
.wishlist-empty i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 10px;
}

/* Pastikan modal di atas backdrop */
.search-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
    height: 100vh;
}

.search-modal .modal-content {
    height: 100vh;
    border-radius: 0;
    border: none;
    background: #f8f9fa;
}

.search-modal .modal-body {
    height: 100%;
}

.search-form {
    max-width: 700px;
}

.search-input {
    font-size: 26px;
    height: 70px;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: none;
}

.close-search {
    outline: none;
}

/*search mobile*/
.mobile-search .search-box {
    position: relative;
}

.mobile-search .form-control {
    border-radius: 25px;
    padding-left: 40px;
    height: 44px;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.mobile-search .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
    .wishlist-card img {
        height: auto;
    }
    header .navbar .header-right {
       margin-right: 0 !important;
       margin-left: auto !important;
    }
    .header-btm .navbar .navbar-collapse {
      z-index: 1 !important;
    }
}
@media (max-width: 768px) {
    .wishlist-card img {
        height: auto;
    }
    .wishlist-card h6 {
        font-size: 13px;
    }
    .wishlist-actions .btn {
        font-size: 12px;
        padding: 6px;
    }
}
@media (max-width: 576px) {
    .wishlist-card {
        border-radius: 10px;
    }
    .wishlist-card img {
        height: auto;
    }
    .wishlist-actions {
        flex-direction: column;
    }
}