.img-logo{
    width:100%;
}
.text-orange{
    color: #ff5517 !important;
}
.btn-default{
  background-color: #324669 !important;
}
.img-fluid{
    width: 100% !important;
}

.bg-topHeader{
background-color: #ff5517 !important;
}

.bg-header{
background-color: #324669 !important;
}

.bg-default-dark{
    background-color: #324669 !important;
}

.bg-default-orange{
    background-color: #ff5517 !important;
}

.search-box {
border: 1px solid #324669;
border-radius: 2rem;
overflow: hidden;
display: flex;
align-items: center;
width:97%;
margin-top:2px;
}

.search-box input {
border: none;
outline: none;
flex: 1;
padding: 0.75rem 1rem;
border-radius: 2rem 0 0 2rem;
}

.search-box input::placeholder {
color: #aaa;
}

.search-box button {
border: none;
background-color: #ff5517;
color: white;
padding: 0.75rem 1rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0 2rem 2rem 0;
}

.search-box button:hover {
background-color: #1e2d4d;
}

.search-box button i {
font-size: 1.6rem;
}


.header-bar {
background-color: #324669; /* Warna oranye */
padding: 0px 0px 5px 0;
display: flex;
align-items: center;
justify-content: end;
gap: 0.7rem;
}

.header-item {
display: flex;
align-items: center;
color: white;
font-weight: 600;
font-size: 1rem;
gap: 0.5rem;
text-decoration: none;
}

.header-item-button {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  gap: 0.3rem;
  text-decoration: none;
}

.header-item i {
font-size: 1.2rem;
}

.btn-masuk {
background-color: white;
color: #ff5500;
font-weight: 600;
border-radius: 1.5rem;
padding: 5px 16px;
border: none;
}

.btn-daftar {
background-color: #ff5500;
color: white;
font-weight: 600;
border-radius: 1.5rem;
padding: 5px 16px;
border: none;
}

.btn-masuk:hover{
background-color: white;
color: #ff5500;
}

.btn-daftar:hover{
background-color: #ff5500;
}

.btn-masuk:hover,
.btn-daftar:hover {
opacity: 0.9;
}

.banner-slider{
    height: 147px;
}


.product-card-slide-thumbnail {
    width: 180px;
    margin-right: 1rem;
    text-align: left;
}

.product-card-slide-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: red;
    font-weight: bold;
    font-size: 1rem;
}

.product-info {
    font-size: 0.8rem;
    color: #666;
}

.badge-gray {
    background-color: #ddd;
    color: #333;
    font-size: 0.75rem;
}

.img-thumbnail-slider-produk{
    min-height: 60%;
    margin-top: 20%;
    vertical-align:middle !important;
}



/* MEGA MENU  */
.menu-container {
    position: absolute;
    top: 182px;
    /* left: 15px; */
    /* right: 15px; */
    width: 90%;
    margin: auto;
    display: flex;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    background-color: transparent;
}

.menu-container.show {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    width: 300px;
    background-color: #213b64;
    overflow-y: auto;
}

.sidebar .category-item {
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334d7d;
    cursor: pointer;
    position: relative;
}

.sidebar .category-item:hover,
.sidebar .category-item.active {
    background-color: #4d668e;
    font-weight: bold;
}

.sidebar .category-item i.fa-gavel {
    margin-right: 10px;
    color: #ff5722;
}

.caret-icon {
    display: none;
    margin-left: auto;
    color: #fff;
}

.category-item.active .caret-icon {
    display: inline-block;
}

.mega-menu {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex: 1;
    display: none;
    animation: fadeIn 0.3s ease;
}

.mega-menu.active {
    display: flex;
    flex-wrap: wrap;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-content {
    display: none;
    width: 100%;
    flex-wrap: wrap;
}

.mega-content.active {
    display: flex;
}

.mega-column {
    flex: 1 1 200px;
    padding: 15px;
}

.mega-column h6 {
    color: #ff5722;
    font-weight: bold;
    margin-bottom: 10px;
}

.mega-column ul {
    list-style: none;
    padding-left: 0;
}

.mega-column ul li {
    margin: 3px;
    color: #333;
    cursor: pointer;
}

.topbar-nav {
    background-color: #fff;
    padding:15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* position: relative; */
    z-index: 1060;
    max-height: 168px;
}

.topbar-nav h5 {
    color: #ff5722;
    font-weight: bold;
    margin: 0;
}

.topbar-nav .menu-left {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.topbar-nav .menu-right a {
    margin-left: 25px;
    color: #213b64;
    font-weight: bold;
    text-decoration: none;
}

.topbar-nav .menu-right a i {
    color: orange;
    margin-right: 5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-container {
    flex-direction: column;
    /* position: static; */
    opacity: 0;
    visibility: hidden;
    width: 85%;
    max-width: none;
    top:150px;
    }

    .menu-container.show {
    opacity: 1;
    visibility: visible;
    }

    .sidebar {
    width: 100%;
    }

    .mega-menu {
    width: 100%;
    display: none !important;
    }

    .mega-menu.active {
    display: block !important;
    }

    .mega-content {
    flex-direction: column;
    }

    .caret-icon {
    display: none !important;
    }

    .topbar-nav {
    flex-wrap: wrap;
    flex-direction: row; /* tetap baris */
    align-items: center;
    padding: 0px 0px 15px 0;
  }

  .menu-left {
    flex: 1 0 auto;
    order: 1;
  }

  .menu-right {
    flex: 3 0 auto;
    order: 2;
    justify-content: flex-end;
  }

  .menu-right .row {
    flex-wrap: nowrap;
    width: 100%;
  }
}


li.link-sub-menu{
    font-size: 12px;
    margin: 3px 0;
    color: #213b64 !important;
}

h6.judul-sub-menu{
    display: inline-block;
    border-bottom: 2px solid #ff5722;
    padding-bottom: 4px;
    color: #ff5722;
    font-weight: bold;
    margin-bottom: 10px;
}


    .kategori-section {
      padding: 40px 20px;
    }

    .kategori-title h4 {
      font-weight: bold;
    }

    .kategori-title p {
      margin: 5px 0 30px;
      color: #555;
    }

    .kategori-grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 0;
      border-top: 1px solid #ddd;
      border-left: 1px solid #ddd;
    }

    .kategori-item {
      text-align: center;
      padding: 20px 10px;
      border-right: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      position: relative;
      overflow: hidden;
      background-color:#e9ecef;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .kategori-item img {
      max-height: 100px;
      margin-bottom: 10px;
      transition: transform 0.3s ease;
    }

    .kategori-item h6 {
      font-weight: bold;
      font-size: 14px;
    }

    .kategori-item:hover img {
      transform: scale(1.05);
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 87, 34, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: bold;
      font-size: 16px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .kategori-item:hover .overlay {
      opacity: 1;
    }

    @media (max-width: 1199px) {
      .kategori-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    @media (max-width: 768px) {
      .kategori-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .menu-right{
            width: 60% !important;
      }
    }

    @media (max-width: 368px) {
        .menu-right{
            width: 100% !important;
        }
        .header-item{
            font-size: 10px;
        }
        .header-item-start{
            font-size: 8px;
            margin-bottom: 12px;
        }
    }

.label-feature-sliders{
    font-size: 12px;
}


/* Chrome, Edge, Safari */
::-webkit-input-placeholder {
    font-size: 12px;
}

/* Firefox 19+ */
::-moz-placeholder {
    font-size: 12px;
}

/* Firefox 4–18 */
:-moz-placeholder {
    font-size: 12px;
}

/* IE 10–11 */
:-ms-input-placeholder {
    font-size: 12px;
}

/* Modern standard */
::placeholder {
    font-size: 12px;
}


.font-8{
  font-size: 8px !important;
}
.font-9{
  font-size: 9px !important;
}
.font-10{
  font-size: 10px !important;
}
.font-11{
  font-size: 11px !important;
}
.font-12{
  font-size: 12px !important;
}
.font-13{
  font-size: 13px !important;
}
.font-14{
  font-size: 14px !important;
}
.font-15{
  font-size: 15px !important;
}
.font-16{
  font-size: 16px !important;
}
.font-17{
  font-size: 17px !important;
}
.font-18{
  font-size: 18px !important;
}
.font-19{
  font-size: 19px !important;
}
.font-20{
  font-size: 20px !important;
}
.font-21{
  font-size: 21px !important;
}
.font-22{
  font-size: 22px !important;
}
.font-23{
  font-size: 23px !important;
}
.font-24{
  font-size: 24px !important;
}
.font-25{
  font-size: 25px !important;
}
.font-26{
  font-size: 26px !important;
}
.font-27{
  font-size: 27px !important;
}
.font-28{
  font-size: 28px !important;
}
.font-29{
  font-size: 29px !important;
}
.font-30{
  font-size: 30px !important;
}


.title-about-home{
    padding:8px 0;
    font-size: 16px;
    font-weight: 400;
}

.link-footer-list{
    font-size:12px;
}

/* hr.footer{
  margin:1rem 0;
  color: inherit;
  border:0;
  border-top-width: 0px;
  border-top-style: none;
  border-top-color: currentcolor;
  border-top: var(--bs-border-width) solid;
  opacity: .25;
} */

hr.feature-sliders{
  border: 1.3px solid #324669;
  margin: 15px 0 20px 0 !important;
}

hr.footer {
  border: 1.3px solid #646D78;
  margin: 5px 0 15px 0 !important;
}

.menu-right{
            width: 50%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  filter: brightness(0) saturate(100%) invert(44%) sepia(93%) saturate(457%) hue-rotate(-11deg) brightness(101%) contrast(103%);
  width: 30px !important;
  margin: 0 10px;
}

button.banner-produk-slide{
    margin:0 1px !important;
}

.product-image {
      height: 150px;
      object-fit: contain;
    }
    .product-card:hover {
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    .filter-panel {
      border-right: 1px solid #ddd;
    }
    .filter-sort .item {
      margin-right: 15px;
      cursor: pointer;
      color: #ff5722;
      font-weight: normal;
    }
    .filter-sort .item.active {
      color:#324669;
      font-weight: bold;
    }
    .filter-sort .item .caret {
      font-size: 0.75rem;
      margin-left: 3px;
      vertical-align: middle;
    }
    .pagination .page-link {
      min-width: 70px;
      text-align: center;
    }





     .image-zoom-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
      border: 1px solid #ddd;
    }
    .image-zoom-wrapper img {
      width: 100%;
      display: block;
      transition: transform 0.3s ease;
      cursor: crosshair;
    }
    .zoom-lens {
      position: absolute;
      border: 2px solid #ff5500;
      border-radius: 50%;
      width: 100px;
      height: 100px;
      visibility: hidden;
      pointer-events: none;
      background: rgba(255, 255, 255, 0.3);
      z-index: 10;
    }
    .product-thumbnail img {
      cursor: pointer;
      border: 2px solid transparent;
      width: 70px;
      height: 70px;
      object-fit: cover;
    }
    .product-thumbnail img.active {
      border-color: #ff5500;
    }
    .variant-btn {
      border: 1px solid #ddd !important;
      background: #fff !important;
      margin-right: 5px !important;
      margin-bottom: 5px !important;
    }
    .variant-btn.active {
      border-color: #ff5500 !important;
      color: #fff !important;
      background: #ff5500 !important;
    }
    .price {
      font-size: 1.5rem;
      color: #ff5500;
      font-weight: bold;
    }
    .badge-diskon {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: #ff5500;
      color: white;
      padding: 5px 10px;
      font-size: 0.9rem;
      border-radius: 5px;
      z-index: 10;
    }
    .rating i {
      color: #f5c518;
    }
    .stok {
      font-weight: 500;
      color: #28a745;
    }
    .rating-select i {
      color: #ddd;
      cursor: pointer;
      transition: color 0.2s;
    }
    .rating-select i.fas {
      color: #f5c518;
    }
    .other-product .card:hover {
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
    }
    .other-product .card-img-top {
      transition: transform 0.3s ease;
    }
    .other-product .card:hover .card-img-top {
      transform: scale(1.05);
    }
    .wishlist {
      font-size: 1.2rem;
      z-index: 1;
      cursor: pointer;
    }



    /* Cart Produk Keranjang Belanja  */
    .product-img { width: 80px; }
    .price { font-weight: bold; }
    .note { color: red; font-size: 0.9rem; }
    .wishlist { color: red; font-size: 0.9rem; cursor: pointer; }
    .cart-summary-box { background: #f8f9fa; padding: 20px; border: 1px solid #ccc; }
    .promo-box { background: #f8f9fa; border: 1px solid #ccc; padding: 15px; font-size: 0.9rem; }
    @media (max-width: 767px) {
      .text-md-end { text-align: start !important; }
    }



    /* FORM POPUP  */
  .modal-backdrop.show {
    z-index: 1050; /* default */
  }

  .modal.show {
    z-index: 1060 !important; /* pastikan lebih tinggi dari navbar */
  }

  .modal-dialog {
    z-index: 1065 !important;
  }


  /* Detail Berita  */
.hero-berita-img {
    max-height: 250px;
    object-fit: cover;
    width: 100%;
  }
  .sidebar-detail-berita .list-group-item {
    font-size: 0.9rem;
    border: none;
    padding: 0.4rem 0;
  }
  .recent-posts img,
  .popular-posts img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }
  .recent-posts .post-title,
  .popular-posts .post-title {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .recent-posts .post-date,
  .popular-posts .post-date {
    font-size: 0.75rem;
    color: #888;
  }
  .post-meta {
    font-size: 0.85rem;
    color: #888;
  }
  .post-author {
    font-weight: bold;
    color: #d60000;
  }
  .post-category {
    background-color: black;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 5px;
    display: inline-block;
  }


  /* Profile Management  */
  .sidebar-account {
      border-right: 1px solid #ddd;
    }
    .sidebar-account a {
      display: block;
      padding: 8px 0;
      color: #000;
      text-decoration: none;
    }
    .sidebar-account a.active {
      color: #d14228;
      font-weight: bold;
    }
    .section-title {
      font-weight: bold;
    }
    .btn-ubah {
      background-color: #d14228;
      color: white;
      border: none;
      padding: 4px 12px;
      font-size: 0.875rem;
    }
    .btn-ubah:hover {
      background-color: #b93b22;
    }
    .btn-small-outline {
      border: 1px solid #ccc;
      font-size: 0.8rem;
      padding: 4px 8px;
    }


    /* FORM INFO AKUN  */
    .form-section {
      border-top: 1px solid #ccc;
      padding-top: 1rem;
      margin-top: 2rem;
    }
    .section-title {
      font-weight: bold;
      margin-bottom: 1rem;
    }
    .form-label-required::after {
      content: " *";
      color: red;
    }
    .btn-save {
      background: #ff5500;
      color: #fff;
      border: none;
    }
    .btn-save:hover {
      background: #b92317;
    }

    /* ALAMAT  */
    .nav-link.active {
      color: red;
      font-weight: bold;
    }
    .card-notice {
      background-color: #f8f9fa;
      border-left: 4px solid #dee2e6;
      padding: 0.75rem 1rem;
      font-size: 0.875rem;
      margin-top: 1rem;
    }
    .text-red {
      color: red;
    }
    .btn-red {
      background-color: #ff5500;
      color: #fff;
    }
    .btn-red:hover {
      background-color: #b72015;
    }


button.btn-back-to-top {
  cursor: pointer;
  z-index: 99;
  position: fixed;
  bottom: 57px;
  left: 50%;
  transform: translateX(-50%);
  width: 37px;
  height: 37px;
  line-height: 37px;
  display: inline-block !important;
  color: #ff5517;
  background-color: #ced4da;
  transition: all 0.5s ease;
  box-shadow: 0 0 3px rgba(60, 72, 88, 0.15);
  border: 0;
  border-radius: 7px;
}

button.btn-back-to-top i {
  font-size: 16px;
  transition: all .5s ease;
}

button.btn-back-to-top:hover {
  background-color: #ff5517;
  color: #ede7f7;
  transform: rotate(45deg);
  transform-origin: center; /* Menjaga posisi tombol tetap di tengah */
  margin-left: -19px !important;
}

button.btn-back-to-top:hover i{
  transform: rotate(-45deg);
}

.pernyataanCookies {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 999;
  background-color: color-mix(in srgb, transparent 20%, #333 75%);
  color: #fff;
  display: none;
}

    .safety-icon {
      font-size: 2rem;
      color: #ff5517;
    }
    .safety-box {
      background-color: #f9f9f9;
      border: 1px solid #eee;
      padding: 20px;
      border-radius: 8px;
      height: 100%;
      transition: all 0.3s;
    }
    .safety-box:hover {
      background-color: #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    h2, h4 {
      color: #ff5517;
    }
    .section-title {
      font-weight: bold;
      margin-top: 2rem;
    }



        .sidebar-account {
      border-right: 1px solid #ddd;
      height: 100%;
    }
    .sidebar-account a {
      display: block;
      padding: 8px 0;
      color: #000;
      text-decoration: none;
    }
    .sidebar-account a.active {
      color: red;
      font-weight: bold;
    }
    .wishlist-item {
      border-bottom: 1px solid #eee;
      padding-bottom: 20px;
      margin-bottom: 20px;
    }
    .qty-box {
      display: flex;
      align-items: center;
      border: 1px solid #ccc;
      padding: 5px 10px;
      border-radius: 4px;
      width: fit-content;
    }
    .qty-box button {
      background: none;
      border: none;
      font-weight: bold;
      font-size: 1rem;
      width: 30px;
    }
    .btn-buy {
      background-color: #ff5500;
      color: white;
      border: none;
      padding: 8px 30px;
    }
    .btn-buy:hover {
      background-color: #b61e14;
    }




    /* Hubungi Kami  */
    .contact-icon {
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: #ff5500;
      color: #fff;
      border-radius: 50%;
      margin-right: 10px;
    }
    .form-control:focus {
      border-color: #ff5500;
      box-shadow: 0 0 0 0.2rem rgba(212,43,30,0.25);
    }
    .btn-contact {
      background-color: #ff5500 !important;
      color: white !important;
    }
    .btn-contact:hover {
      background-color: #ff5500 !important;
    }


    

.login-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
}
.btn-login-header {
    font-size: 15px !important;
    background: #d60000 !important;
    color: #fff !important;
    padding:3px 7px !important;
}
.btn-login {
    font-size: 18px !important;
    background: #d60000 !important;
    color: #fff !important;
}
.btn-register-header {
    font-size: 15px !important;
    background: #ff5517 !important;
    color: #fff !important;
    padding:3px 7px !important;
}
.btn-social {
    font-weight: 600;
}
.btn-google {
    background: #007bff !important;
    color: #fff !important;
}
.benefit-box {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
}
.promo-box {
    border: 1px solid #ddd;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}
.promo-title {
    font-weight: bold;
    color: #d60000;
}
.form-check-input {
    width: 18px;
    height: 18px;
}
.help-box i {
    margin-right: 6px;
}
























































/* =========================
   HEADER & NAV BASE STYLE
========================= */

.bg-header {
    background-color: #fff;
    border-bottom: 1px solid #ececec;
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.header-bar {
    position: relative;
    z-index: 9999;
}
.dropdown-menu {
    z-index: 99999 !important;
}

.header-item {
    color: white;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-item:hover {
    color: #ff6f00;
}


/* =========================
   PROFILE DROPDOWN STYLE
========================= */

.btn-profile,
.dropdown-toggle {
    font-size: 14px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 6px;
    color: #333;
}

.btn-profile:hover,
.dropdown-toggle:hover {
    color: #ff6f00 !important;
}

/* Fix dropdown blocking click */
.dropdown {
    position: relative;
    z-index: 2000;
}

/* Dropdown Menu */
.dropdown-menu {
    min-width: 210px;
    border-radius: 10px;
    border: none;
    padding: 8px 0;
    box-shadow: 0px 6px 16px rgba(0,0,0,0.10);
    animation: fadeIn 0.2s ease-in-out;
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f9f9f9;
    border-left: 3px solid #ff6f00;
    padding-left: 12px;
}

/* Divider style */
.dropdown-menu hr {
    margin: 6px 0;
}

/* Avatar image */
.dropdown-toggle img {
    border: 2px solid #ddd;
    transition: 0.2s;
}

.dropdown-toggle:hover img {
    border-color: #ff6f00;
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.category-link.active {
  font-weight: 800;          /* 🔥 TEBAL */
  color: #f97316;            /* 🔥 ORANGE / SESUAI TEMA */
}