@media (min-width: 992px) {
  body {
    background: #f5f7fb !important;
  }

  #addCartForm.configoption_form.lycp-modern-form {
    max-width: 1500px !important;
    margin: 0 auto 24px !important;
    padding: 16px 18px !important;
  }

  #addCartForm .lycp-modern-hero,
  #addCartForm .lycp-page-head,
  #addCartForm .lycp-helper-tip {
    display: none !important;
  }

  #addCartForm .lycp-modern-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 16px !important;
    align-items: start !important;
    margin: 0 !important;
  }

  #addCartForm .col-xl-8,
  #addCartForm .col-xl-4 {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
  }

  #addCartForm .card {
    overflow: hidden !important;
    margin-bottom: 14px !important;
    border: 1px solid #e8edf5 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045) !important;
  }

  #addCartForm .col-xl-8 > .card.border-bottom {
    min-height: 112px !important;
    margin-bottom: 14px !important;
    border: 1px solid #e8edf5 !important;
    background: #fff !important;
  }

  #addCartForm .col-xl-8 > .card.border-bottom .card-body {
    min-height: 112px !important;
    padding: 22px 26px !important;
    display: flex !important;
    align-items: center !important;
  }

  #addCartForm .col-xl-8 > .card.border-bottom .d-flex {
    width: 100% !important;
  }

  #addCartForm .lycp-product-title {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 0 28px !important;
    color: #111827 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  #addCartForm .lycp-product-title::before {
    display: none !important;
    content: none !important;
  }

  #addCartForm .lycp-product-title::after {
    content: "云服务器配置" !important;
    position: absolute !important;
    left: 76px !important;
    bottom: 2px !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 600 !important;
  }

  #addCartForm .lycp-product-logo {
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .14) !important;
  }

  #addCartForm .col-xl-8 > .card:not(.border-bottom) .card-body {
    display: block !important;
    padding: 4px 26px 8px !important;
  }

  #addCartForm .col-xl-8 > .card:not(.border-bottom) .card-body::before {
    display: none !important;
    content: none !important;
  }

  #addCartForm .configureproduct,
  #addCartForm .form-group.row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 0 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f7 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #addCartForm .form-group.row[style*="display:none"] {
    display: none !important;
  }

  #addCartForm .col-form-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #172033 !important;
    font-size: 15px !important;
    line-height: 22px !important;
    font-weight: 900 !important;
  }

  #addCartForm .col-form-label::before {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    border-radius: 0 !important;
    background: #2563eb !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  #addCartForm .col-md-10,
  #addCartForm .col-md-3,
  #addCartForm .col-md-2,
  #addCartForm .col-md-1,
  #addCartForm .col-8,
  #addCartForm .col-1 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #addCartForm .cycle,
  #addCartForm .btn-custom-group,
  #addCartForm .btn-group-toggle {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #addCartForm .btn-custom,
  #addCartForm .btn-group-toggle > .btn,
  #addCartForm label.btn.btn-primary {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #e3e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: normal !important;
    transition: .2s ease !important;
  }

  #addCartForm .btn-custom:hover,
  #addCartForm .btn-group-toggle > .btn:hover,
  #addCartForm label.btn.btn-primary:hover {
    border-color: #93b4df !important;
    background: #f8fbff !important;
    color: #1d4f91 !important;
  }

  #addCartForm .btn-custom-group .active,
  #addCartForm .btn-group-toggle > .btn.active,
  #addCartForm label.btn.btn-primary.active {
    border-color: #2f6eae !important;
    background: #f8fbff !important;
    color: #1d4f91 !important;
    box-shadow: inset 0 0 0 1px rgba(47, 110, 174, .08) !important;
    transform: none !important;
  }

  #addCartForm .lycp-cycle-row .cycle,
  #addCartForm .lycp-cycle-row .btn-custom-group,
  #addCartForm .lycp-cycle-row .btn-group-toggle {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)) !important;
  }

  #addCartForm .lycp-cycle-row .btn-custom,
  #addCartForm .lycp-cycle-row .btn-group-toggle > .btn,
  #addCartForm .lycp-cycle-row label.btn.btn-primary {
    min-height: 54px !important;
    height: 54px !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  #addCartForm .cycle-select-discount {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #dcfce7 !important;
    color: #15803d !important;
    font-size: 10px !important;
    line-height: 18px !important;
    font-weight: 900 !important;
  }

  #addCartForm .btn.active .cycle-select-discount,
  #addCartForm .btn-custom.active .cycle-select-discount {
    background: #dcfce7 !important;
    color: #15803d !important;
  }

  #addCartForm .form-control,
  #addCartForm .bootstrap-select > .dropdown-toggle,
  #addCartForm select.form-control,
  #addCartForm textarea.form-control {
    min-height: 44px !important;
    height: 44px !important;
    border: 1px solid #e3e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  #addCartForm textarea.form-control {
    height: auto !important;
    min-height: 72px !important;
  }

  #addCartForm .form-control:focus,
  #addCartForm .bootstrap-select.show > .dropdown-toggle,
  #addCartForm .bootstrap-select > .dropdown-toggle:focus {
    border-color: #2f6eae !important;
    box-shadow: 0 0 0 3px rgba(47, 110, 174, .10) !important;
  }

  #addCartForm .configoption_range_val {
    width: 86px !important;
    max-width: 86px !important;
    min-height: 44px !important;
    height: 44px !important;
  }

  #addCartForm .col-xl-4 .card {
    position: sticky !important;
    top: 16px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05) !important;
  }

  #addCartForm .col-xl-4 .card-body {
    padding: 22px 20px !important;
    background: #fff !important;
  }

  #addCartForm .col-xl-4 .card-title {
    margin: 0 0 14px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid #edf1f7 !important;
    color: #172033 !important;
    font-size: 16px !important;
    line-height: 22px !important;
    font-weight: 900 !important;
  }

  #addCartForm .configoption_total {
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #64748b !important;
  }

  #addCartForm .configoption_total table,
  #addCartForm .configoption_total .table {
    width: 100% !important;
    margin: 0 !important;
  }

  #addCartForm .configoption_total td,
  #addCartForm .configoption_total th {
    padding: 8px 0 !important;
    border-color: #edf1f7 !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  #addCartForm .configoption_total td:last-child,
  #addCartForm .configoption_total th:last-child {
    color: #172033 !important;
    text-align: right !important;
    font-weight: 800 !important;
  }

  #addCartForm .configoption_total .amount,
  #addCartForm .configoption_total .price,
  #addCartForm .configoption_total .h4,
  #addCartForm .configoption_total .h5,
  #addCartForm .configoption_total [class*="total"] {
    color: #2563eb !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  #addCartForm .configoption_total .btn-primary,
  #addCartForm button[type="submit"],
  #addCartForm #addCartBtn,
  #addCartForm .btn-block.btn-primary {
    min-height: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .20) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }
}

@media (min-width: 1280px) {
  #addCartForm .cycle,
  #addCartForm .btn-custom-group,
  #addCartForm .btn-group-toggle {
    grid-template-columns: repeat(6, minmax(105px, 1fr)) !important;
  }

  #addCartForm .lycp-cycle-row .cycle,
  #addCartForm .lycp-cycle-row .btn-custom-group,
  #addCartForm .lycp-cycle-row .btn-group-toggle {
    grid-template-columns: repeat(6, minmax(125px, 1fr)) !important;
  }
}

@media (min-width: 1440px) {
  #addCartForm .lycp-modern-layout {
    grid-template-columns: minmax(0, 1fr) 340px !important;
  }
}
