/* BEGIN max width 1200px */
@media (max-width: 1200px) {
    .content-form-page .control-label {
        padding-left: 30px;
        padding-bottom: 5px;
    }
    .content-form-page .col-md-offset-4 {
        margin-left: 15px;
    }
    .content-form-page .pull-right {
        float: left !important;
    }
    .quote-v1 span {
        font-size: 20px;
    }
}

/* BEGIN min width 1025px */
@media (min-width: 1025px) {
    .header .header-navigation {
        display: block !important;
    }
}

/* BEGIN min width 1025px max width 1205 */
@media (min-width: 1025px) and (max-width: 1205px) {
    body.page-header-fixed {
        padding-top: 121px !important;
    }
    .header .header-navigation {
        display: block !important;
        clear: both;
        margin-top: -10px;
        float: left !important;
    }
    .reduce-header .header-navigation {
        margin-top: -6px;
    }
    .header .header-navigation > ul > li {
        margin-right: 27px;
    }
    .header .header-navigation > ul > li > a {
        padding: 5px 0 18px;
    }
    .reduce-header .header-navigation > ul > li > a {
        padding-bottom: 13px;    
    }
    .header .header-navigation > ul > li.active > a, 
    .header .header-navigation > ul > li > a:hover, 
    .header .header-navigation > ul > li > a:focus, 
    .header .header-navigation > ul > li.open > a {
        background: none;
    }
    .header-navigation > ul > li.dropdown:hover > a:after {
        margin-left: 10px;
    }
    .dropdown-fix-right .dropdown-menu {
        left: 0;
        right: auto;
    }
    .header .header-navigation li.menu-search {
        top: 1px;
        margin-left: -20px;
    }
}

/* BEGIN max width 1024px */
@media (max-width: 1024px) {
    body.page-header-fixed {
        padding-top: 107px !important;
    }
    .header .mobi-toggler {
        display: block;
    }
    .header .header-navigation {
        float: none !important;        
        display: none;
        clear: both;
        background: #F9F9F9;
        padding: 0 20px;
        margin: 0 -20px 25px;
        font-size: 16px;
    }
    .header .header-navigation li {
        float: none;
        padding: 0;
        clear: both;
    }
    .header .header-navigation li > a {
        border-bottom: 1px solid #efefef !important;
        padding: 8px 10px 9px;
        margin: 0 -10px;
        position: relative;
        color: #666 !important;
        background: none !important;
    }
    .header-navigation .dropdown-menu {
        position: static;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        background: none;
    }
    .page-header-fixed .header-navigation {
        height: 300px;
        overflow: auto;
    }
}

/* BEGIN max width 992px */    
@media (max-width: 992px) {
    .shop-index-carousel {
        margin-left: 0;
        margin-right: 0;
    }
    .brands .container {
        padding-right: 25px;
    }
    .carousel img {
        width: 100%;
    }
    .steps-block-col {
        border: 2px solid #FFF;
        margin: 0 25px 20px 15px;
        padding: 20px 20px 15px;
        float: none;
    }
    .steps-block h2 {
        font-size: 43px;
    }
    .pre-footer-subscribe-box form {
        width: 100%;
    }
}

/* BEGIN max width 767px */
@media (max-width: 767px) {
    .pre-header .pull-right {
        float: left !important;
    }
    .header .header-navigation {
        margin: 0 -10px 0;
        padding: 0 10px;
    }
    .footer .pull-right {
        float: none !important;
        padding-top: 15px;
    }
    .sidebar-products .item {
        float: left;
        width: 48%;
        margin-bottom: 20px;
    }
}

/* BEGIN max width 480px */
@media (max-width: 480px) {
    .pre-header .list-inline li {
        display: block;
        margin-bottom: 10px;
    }
    .top-cart-block {
        width: 100%;
        margin: 0 0 29px;
    }
    .table-wrapper-responsive {
        overflow-x: scroll;
    }
}

/* --- PERBAIKAN KHUSUS SLIDER & ELEMENT HP --- */
@media (max-width: 500px) {
    /* Memastikan gambar slider pas di tengah dan penuh */
    .carousel img, 
    .carousel-slider img,
    .carousel-item img {
        width: 100% !important; 
        margin-left: 0 !important; 
        margin-right: 0 !important;
        height: auto !important;
        display: block !important;
    }
    
    .shop-index-carousel {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .steps-block .fa-truck, 
    .steps-block .fa-gift, 
    .steps-block .fa-phone {
        border: 1px solid #FFFFFF;
        border-radius: 20px !important;
        float: none;
        display: block;
        width: 40px;
        height: 40px;
        text-align: center;
        margin: 0 auto 10px;
    }

    .ecommerce .steps-block h2 {
        font-size: 25px;
        text-align: center;
    }

    .mix-block .tab-content .col-md-3 {
        padding-right: 15px;
    }
}

/* BEGIN max width 330px */
@media (max-width: 330px) {
    .top-cart-content {
        width: 280px;
    }
}

/* BEGIN max width 320px */
@media (max-width: 320px) {
    .site-logo {
        margin-right: 0;
    }
}


   .custom-slider-img {
    /* Atur tinggi di sini sesuai keinginan agar penuh ke bawah */
    height: 500px; 
    object-fit: cover; 
    object-position: center;
    width: 100%;
  }

  /* Agar di HP tidak terlalu raksasa, kita kecilkan sedikit */
  @media (max-width: 768px) {
    .custom-slider-img {
      height: 300px;
    }
  }