/* 몰 최대 가로 1024px */
.mall-site .container-xxl {
  max-width: 1024px !important;
  width: 100%;
}

/* 모바일: 햄버거 메뉴 펼침 시 흰 배경 (가독성) */
@media (max-width: 1199.98px) {
  .mall-site #layout-navbar.navbar-detached {
    background-color: #fff !important;
    border: 1px solid rgba(67, 89, 113, 0.12);
  }

  .mall-site #layout-navbar .navbar-collapse {
    flex-basis: 100%;
    background-color: #fff;
    padding: 0.75rem 1rem 1rem;
    margin-top: 0.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 1rem rgba(67, 89, 113, 0.08);
  }

  .mall-site #layout-navbar .dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(67, 89, 113, 0.12);
    box-shadow: 0 0.125rem 0.375rem rgba(67, 89, 113, 0.1);
  }
}

.mall-cat-dropdown {
  max-height: 70vh;
  overflow-y: auto;
}

.mall-search {
  min-width: 0;
  flex: 1 1 16rem;
}

@media (min-width: 1200px) {
  .mall-search {
    flex: 0 1 22rem;
  }
}

.mall-product-card .card-img-top {
  height: 200px;
  object-fit: contain;
  background: #f5f5f9;
  padding: 0.75rem;
}

.mall-product-card .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.mall-detail-primary-img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.mall-detail-description img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.mall-detail-description {
  font-size: 0.95rem;
}

.mall-option-block .mall-variant-select,
  max-width: 100%;
}

.mall-variant-select {
  max-height: none;
}

.mall-quote-qty-table input.mall-qty-input {
  max-width: 6rem;
}

.mall-quote-qty-table .mall-grand-total {
  font-size: 1.05rem;
}
