@media (max-width: 1300px) {}

@media (max-width: 1120px) {}

@media (max-width: 992px) {
  .hero_area {
    min-height: auto;
  }

  .custom_nav-container .navbar-nav {
    padding-top: 15px;
    align-items: center;
  }


  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;
    margin: 5px 0;
  }

  .slider_section .carousel-indicators {
    margin-top: 45px;
  }

  .client_section .carousel-control-prev {
    left: 15%;
  }

  .client_section .carousel-control-next {
    right: 15%;
  }

}
/* Prevent horizontal overflow on small devices */
@media (max-width: 767px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .container, .container-fluid, .row, [class^="col-"] {
    max-width: 100%;
  }
  .hero_area,
  .slider_section,
  .slider_bg_box,
  .slider_bg_box img {
    overflow: hidden;
  }
  
  /* Product Page Mobile Fixes */
  .filter-controls {
    padding: 15px;
    margin: 0 10px 20px;
  }
  
  .filter-controls .row {
    margin: 0;
  }
  
  .filter-controls .col-md-4,
  .filter-controls .col-md-5,
  .filter-controls .col-md-2 {
    padding: 5px;
    margin-bottom: 10px;
  }
  
  .search-input {
    margin-top: 15px;
    font-size: 16px;
  }
  
  .filter-select {
    font-size: 16px;
    padding: 10px;
  }
  
  .product_section .row {
    margin: 0;
  }
  
  .product_section .col-sm-6,
  .product_section .col-md-4,
  .product_section .col-lg-3 {
    padding: 5px;
    margin-bottom: 15px;
  }
  
  .product_section .box {
    margin-top: 0;
    padding: 12px;
  }
  
  .product_section .box .img-box {
    height: 200px;
    margin-bottom: 10px;
  }
  
  .product_section .box .detail-box h5 {
    font-size: 14px;
    height: auto;
    margin-bottom: 8px;
  }
  
  .product_section .box .detail-box .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 10px;
  }
  
  .product_section .box .detail-box .price-now {
    font-size: 16px;
  }
  
  .product_section .box .detail-box .price-old {
    font-size: 12px;
  }
  
  .product_section .box .detail-box .discount {
    font-size: 10px;
  }
  
  .product_section .pill {
    font-size: 10px;
    padding: 3px 6px;
    margin-bottom: 6px;
  }
  
  .product-actions {
    margin-top: 8px;
  }
  
  .btn-compact {
    padding: 8px 10px;
    font-size: 11px;
    min-height: 32px;
  }
  
  .btn-compact i {
    font-size: 10px;
  }
}
/* Mobile (Android/touch): focus further right (~80%) */
@media (max-width: 768px) and (pointer: coarse) {
  .slider_bg_box img {
    object-position: 80% center !important;
  }
}
@media (max-width: 767px) {

  .slider_bg_box img {
    -o-object-position: 80% center;
    object-position: 80% center;
  }

  .arrival_section .arrival_bg_box img {
    max-width: 100%;
    border-radius: 10px;
  }

  .client_section .carousel-control-prev {
    left: 5%;
  }

  .client_section .carousel-control-next {
    right: 5%;
  }

  .slider_section .detail-box,
  .about_section .detail-box {
    margin-bottom: 45px;
  }

  .about_section .row {
    flex-direction: column-reverse;
  }

  .subscribe_section .box {
    padding: 75px 25px;
  }
  
  .arrival_section .box {
    padding: 60px 25px;
  }

  .subscribe_section .subscribe_form form button {
    margin-top: 15px;
  }

  /* Shift 'Why Shop With Us' cards slightly right for mobile */
  .why_section .box {
    position: relative;
    left: 10px;
  }
}

@media (max-width: 576px) {
  .heading_container h2 {
    font-size: 2.2rem;
  }
  
  /* Small mobile optimizations for all sections */
  .arrival_section .arrival_bg_box img {
    max-width: 100%;
    border-radius: 8px;
  }
  
  .arrival_section .box {
    padding: 50px 20px;
  }
  
  .product_section .box .img-box {
    height: 250px;
  }
  
  .client_section .box .img_container .img-box .img_box-inner {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .heading_container h2 {
    font-size: 2rem;
  }

  .carousel_btn_box {
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }

  .client_section .carousel-control-prev,
  .client_section .carousel-control-next {
    position: unset;
    transform: none;
  }
  
  /* Extra small mobile optimizations */
  .arrival_section .arrival_bg_box img {
    max-width: 100%;
    border-radius: 6px;
  }
  
  .arrival_section .box {
    padding: 40px 15px;
  }
  
  .product_section .box .img-box {
    height: 280px;
  }
  
  .client_section .box .img_container .img-box .img_box-inner {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 420px) {
  /* Ultra small mobile optimizations */
  .arrival_section .arrival_bg_box img {
    max-width: 100%;
    border-radius: 5px;
  }
  
  .arrival_section .box {
    padding: 35px 12px;
  }
  
  .product_section .box .img-box {
    height: 327px;
  }
  
  .client_section .box .img_container .img-box .img_box-inner {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 376px) {
  .slider_section .detail-box h1 {
    font-size: 3rem;
  }
  
  /* Ultra small mobile final optimizations */
  .arrival_section .arrival_bg_box img {
    max-width: 100%;
    border-radius: 5px;
  }
  
  .arrival_section .box {
    padding: 30px 10px;
  }
  
  .arrival_section .heading_container h2 {
    font-size: 1.6rem;
  }
  
  .product_section .box .img-box {
    height: 300px;
  }
  
  .client_section .box .img_container .img-box .img_box-inner {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
@media only screen and (max-width: 768px) {
    .about-image {
        width: 100% !important;
        max-width: none !important;
    }
    
    .mobile-image-container {
        min-height: 300px !important;
        padding: 20px 0 !important;
    }
}

/* For larger mobile screens (tablets) */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
    .about-image {
        width: 95% !important;
    }
}

/* For very small screens */
@media only screen and (max-width: 480px) {
    .about-image {
        width: 100% !important;
    }
    
    .mobile-image-container {
        min-height: 250px !important;
        padding: 15px 0 !important;
    }
}

@media (max-width: 767px) {
  .product_section .box .detail-box .price-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
  }
  .product_section .box .detail-box .price-now {
    font-size: 20px;
  }
  .product_section .box .detail-box .price-old {
    font-size: 15px;
  }
  .product_section .box .detail-box .discount {
    font-size: 14px;
  }
}

/* Contact Page Responsive Fixes */
@media (max-width: 768px) {
  .why_section .container {
    padding: 0 15px;
  }
  
  .why_section .col-lg-8 {
    padding: 0;
  }
  
  .why_section form {
    padding: 0 10px;
  }
  
  .why_section .row .col-md-6 {
    margin-bottom: 15px;
  }
  
  .why_section input,
  .why_section textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .why_section .input-group {
    position: relative;
    margin-bottom: 15px;
  }
  
  .why_section .input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--primary-color);
  }
  
  .why_section .input-group input,
  .why_section .input-group textarea {
    padding-left: 45px !important;
  }
  
  .why_section input[type="submit"] {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
  }
}

@media (max-width: 576px) {
  .why_section {
    padding: 40px 0;
  }
  
  .why_section .container {
    padding: 0 10px;
  }
  
  .why_section .col-lg-8 {
    padding: 0 5px;
  }
  
  .why_section form {
    padding: 0 5px;
  }
  
  .why_section input,
  .why_section textarea {
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 8px;
  }
  
  .why_section .input-group i {
    left: 12px;
    font-size: 14px;
  }
  
  .why_section .input-group input,
  .why_section .input-group textarea {
    padding-left: 40px !important;
  }
  
  .why_section input[type="submit"] {
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 25px;
  }
  
  .arrival_section .box {
    padding: 30px 15px;
    margin: 0 10px;
  }
  
  .arrival_section .row .col-md-6 {
    margin-bottom: 20px;
  }
  
  .arrival_section .arrival_bg_box {
    margin-bottom: 20px;
  }
  
  .arrival_section .arrival_bg_box img {
    border-radius: 8px;
  }
  
  .arrival_section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .arrival_section p {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .why_section .container {
    padding: 0 5px;
  }
  
  .why_section .col-lg-8 {
    padding: 0;
  }
  
  .why_section form {
    padding: 0;
  }
  
  .why_section input,
  .why_section textarea {
    padding: 10px 12px;
    font-size: 16px;
  }
  
  .why_section .input-group i {
    left: 10px;
    font-size: 13px;
  }
  
  .why_section .input-group input,
  .why_section .input-group textarea {
    padding-left: 35px !important;
  }
  
  .why_section input[type="submit"] {
    padding: 12px 20px;
    font-size: 15px;
    margin-top: 15px;
  }
  
  .arrival_section .box {
    padding: 25px 10px;
    margin: 0 5px;
  }
  
  .arrival_section .heading_container h2 {
    font-size: 1.8rem;
  }
  
  .arrival_section h3 {
    font-size: 1.3rem;
  }
  
  .arrival_section p {
    font-size: 13px;
  }
  
  /* Extra small mobile fixes */
  .filter-controls {
    padding: 10px;
    margin: 0 5px 15px;
  }
  
  .filter-controls .col-md-4,
  .filter-controls .col-md-5,
  .filter-controls .col-md-2 {
    padding: 3px;
    margin-bottom: 8px;
  }
  
  .search-input {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 16px;
  }
  
  .filter-select {
    font-size: 16px;
    padding: 8px;
  }
  
  .product_section .col-sm-6,
  .product_section .col-md-4,
  .product_section .col-lg-3 {
    padding: 3px;
    margin-bottom: 10px;
  }
  
  .product_section .box {
    padding: 8px;
  }
  
  .product_section .box .img-box {
    height: 180px;
  }
  
  .product_section .box .detail-box h5 {
    font-size: 13px;
  }
  
  .product_section .box .detail-box .price-now {
    font-size: 14px;
  }
  
  .product_section .box .detail-box .price-old {
    font-size: 11px;
  }
  
  .product_section .box .detail-box .discount {
    font-size: 9px;
  }
  
  .product_section .pill {
    font-size: 9px;
    padding: 2px 4px;
  }
  
  .btn-compact {
    padding: 6px 8px;
    font-size: 10px;
    min-height: 28px;
  }
  
  .btn-compact i {
    font-size: 9px;
  }
}