/* ==========================================================================
   RESPONSIVE STYLESHEET - PEKAUMAN UMKM DIGITAL
   ========================================================================== */

/* Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1180px;
  }
}

/* Tablet & Mobile (<= 992px) */
@media (max-width: 992px) {
  .custom_nav-container .navbar-collapse {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
  }

  .custom_nav-container .navbar-nav {
    padding: 0;
    align-items: center;
    width: 100%;
  }

  .custom_nav-container .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
    margin: 4px 0;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 10px 20px !important;
    display: block;
  }

  .user_option {
    justify-content: center;
    margin-top: 15px;
    width: 100%;
  }

  .user_option .order_online {
    width: 100%;
    text-align: center;
  }

  /* Hero Slider Responsive */
  .hero-slide-container {
    padding: 40px 15px 80px;
    min-height: auto;
  }

  .hero-slide-text {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-search-box {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-quick-tags {
    justify-content: center;
  }

  .hero-feature-pills {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-slide-visual {
    margin-top: 25px;
  }

  /* Navigation Arrows on Tablet */
  .hero-carousel-nav {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .hero-carousel-nav.prev {
    left: 10px;
  }

  .hero-carousel-nav.next {
    right: 10px;
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767px) {
  .layout_padding {
    padding: 50px 0;
  }

  .layout_padding-sm {
    padding: 35px 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-search-box {
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius-lg);
  }

  .hero-search-box input {
    text-align: center;
    padding: 6px 0;
  }

  .hero-search-box .search-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-carousel-indicators {
    gap: 8px;
    padding: 6px 12px;
    bottom: 15px;
  }

  .hero-carousel-indicators li .indicator-label {
    display: none !important;
  }

  .hero-carousel-indicators li .indicator-bar {
    width: 16px;
    height: 4px;
  }

  .hero-carousel-indicators li.active .indicator-bar {
    width: 28px;
  }

  .hero-carousel-nav {
    display: none;
  }

  .detail-hero-banner {
    height: 180px;
  }

  .detail-header-card {
    margin-top: -40px;
    padding: 20px;
  }

  .detail-logo-avatar {
    width: 70px;
    height: 70px;
  }

  .heading_container h2 {
    font-size: 1.75rem;
  }

  .subpage-hero h1 {
    font-size: 1.75rem;
  }
}

/* Small Mobile (<= 576px) */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-pill-tag {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .umkm-card-cover {
    height: 150px;
  }

  .product-card-thumb {
    height: 170px;
  }
}

/* Very Small Mobile (<= 375px) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .navbar-brand span {
    font-size: 24px;
  }
}
