/* WEB-38 2026-12-03 (Asia/Saigon)
   Chuẩn typography mobile theo trang iPad Pro 11-inch M5 (đo live 390px):
   tên 28px / 600 / line-height 1.2 / letter-spacing -0.02em / color #1d1d1f /
   margin 8px 0 4px / padding 0;
   giá 28px / 700 / #f56300 / padding-top 6px / display inline-block;
   lề trái khối tên+giá 12px.
   Chỉ trong max-width: 900px — đúng khoảng product.twig đang thu chữ (17px/22px).
   Desktop (>900px) không đổi. Không đụng giá ô cấu hình.
   Không mix-blend-mode. */
@media (max-width: 900px) {
  /* Tên sản phẩm */
  .mmd .mmd-product .as-configuration-maintitle,
  .as-configuration-header .as-configuration-maintitle,
  .sticky-buy-mobile .as-configuration-maintitle,
  #actiontray-mobile .as-configuration-maintitle {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 8px 0 4px;
    padding: 0;
    color: #1d1d1f;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Giá lớn dưới tên — không chọn .as-optiontile-pricedelta */
  .mmd .mmd-product .as-configuration-header .as-price-now,
  .mmd .mmd-product .as-configuration-header .current_price .as-price-now,
  .as-configuration-header .as-price-now,
  .as-configuration-header .current_price .as-price-now,
  .sticky-buy-mobile .as-price-now,
  .sticky-buy-mobile .current_price .as-price-now,
  .mobile-price .as-price-now,
  #actiontray-mobile .current_price .as-price-now {
    font-size: 28px;
    font-weight: 700;
    color: #f56300;
    display: inline-block;
    padding-top: 6px;
    white-space: nowrap;
  }

  /* Đồng bộ lề trái 12px trên /mac và /macbook-cu (live đang 35px:
     20px padding .mmd + 15px padding .container-fluid). Không áp cho .mmd-ipad. */
  .mmd:not(.mmd-ipad) {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mmd:not(.mmd-ipad) .container-fluid.block-detail-product {
    padding-left: 0;
    padding-right: 0;
  }

  /* Phụ kiện / Surface: thanh sticky 2 cột quá hẹp cho chữ 28px — xếp dọc, canh trái. */
  .sticky-buy-mobile {
    padding: 10px 12px 0;
  }
  .sticky-buy-mobile #actiontray-mobile .row {
    flex-direction: column;
    align-items: flex-start;
  }
  .sticky-buy-mobile #actiontray-mobile .col-7,
  .sticky-buy-mobile #actiontray-mobile .col-5 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }
  .sticky-buy-mobile .mobile-price {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
  }
}
