/**
 * Servis listesi — mobil kartlarda premium fiyat kutusu (≤575px).
 * Masaüstünde sade satır; para güncellemesi .ms-money üzerinde (ms-currency.js).
 */

@media (max-width: 575.98px) {
  #layoutSidenav_content > main .ms-table-wrapper--services tbody tr.ms-service-mobile-card > td.ms-svc-price-cell {
    padding-top: 0.4rem !important;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services tbody tr.ms-service-mobile-card > td.ms-svc-price-cell::before {
    display: none !important;
    content: none !important;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card .ms-svc-price-box {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: linear-gradient(
      145deg,
      color-mix(in srgb, #0061f2 16%, rgba(255, 255, 255, 0.94)) 0%,
      color-mix(in srgb, #6366f1 10%, rgba(255, 255, 255, 0.88)) 48%,
      color-mix(in srgb, #6900c7 12%, rgba(248, 250, 252, 0.92)) 100%
    );
    border: 1px solid rgba(0, 97, 242, 0.2);
    box-shadow:
      0 4px 18px rgba(0, 97, 242, 0.14),
      0 2px 6px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:hover .ms-svc-price-box,
  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:active .ms-svc-price-box {
    transform: scale(1.018);
    border-color: rgba(0, 97, 242, 0.32);
    box-shadow:
      0 8px 28px rgba(0, 97, 242, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  }

  body.dark #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card .ms-svc-price-box,
  html.theme-dark body #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card .ms-svc-price-box {
    background: linear-gradient(
      145deg,
      rgba(30, 40, 62, 0.92) 0%,
      rgba(24, 31, 48, 0.94) 45%,
      rgba(22, 28, 44, 0.96) 100%
    );
    border-color: rgba(110, 167, 255, 0.26);
    box-shadow:
      0 6px 26px rgba(0, 0, 0, 0.38),
      0 0 28px color-mix(in srgb, #6366f1 18%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  body.dark #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:hover .ms-svc-price-box,
  html.theme-dark body #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:hover .ms-svc-price-box,
  body.dark #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:active .ms-svc-price-box,
  html.theme-dark body #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:active .ms-svc-price-box {
    border-color: rgba(110, 167, 255, 0.38);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.45),
      0 0 36px color-mix(in srgb, #8b5cf6 22%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__trend {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-height: 100%;
    border-radius: 10px;
    background: rgba(0, 97, 242, 0.11);
    color: #2563eb;
    font-size: 0.8rem;
  }

  body.dark #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__trend,
  html.theme-dark body #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__trend {
    background: rgba(110, 167, 255, 0.14);
    color: #7eb0ff;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    justify-content: center;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__value {
    min-width: 0;
    line-height: 1.2;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__amt {
    display: inline-block;
    max-width: 100%;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    color: var(--ms-ds-head, #0f172a);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__amt::first-letter {
    font-size: 0.5em;
    font-weight: 750;
    opacity: 0.88;
    vertical-align: 0.12em;
    margin-right: 0.08em;
    letter-spacing: 0;
  }

  body.dark #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__amt,
  html.theme-dark body #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__amt {
    color: #f1f5f9;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__hint {
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.25;
    color: var(--ms-ds-muted, #64748b);
    opacity: 0.94;
  }

  body.dark #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__hint,
  html.theme-dark body #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__hint {
    color: #94a3b8;
  }
}

@media (min-width: 576px) {
  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: auto;
    max-width: none;
    transition: none;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__trend {
    display: none !important;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__hint {
    display: none !important;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__body {
    display: inline;
    flex: none;
    min-width: 0;
    gap: 0;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__value {
    display: inline;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__amt {
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services .ms-svc-price-box__amt::first-letter {
    font-size: 1em;
    font-weight: inherit;
    opacity: 1;
    vertical-align: baseline;
    margin-right: 0;
  }

  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:hover .ms-svc-price-box,
  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:active .ms-svc-price-box {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card .ms-svc-price-box,
  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:hover .ms-svc-price-box,
  #layoutSidenav_content > main .ms-table-wrapper--services tr.ms-service-mobile-card:active .ms-svc-price-box {
    transform: none !important;
    transition: none !important;
  }
}
