﻿.athletic-cart-modal .modal-dialog {
  max-width: 580px;
  margin: 1.75rem auto;
}

.athletic-cart-modal .modal-content {
  background: #FFFFFF;
  border-radius: 12px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.athletic-cart-modal .modal-header {
  border-color: #E2E8F0;
  background: #FFFFFF;
}

.athletic-cart-modal .cart-badge-icon {
  width: 32px;
  height: 32px;
  background: #FF4500;
}

.athletic-cart-modal .modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(90vh - 170px);
  background: #FFFFFF;
}

.athletic-cart-modal .bg-surface {
  background-color: #F8FAFC;
}

.athletic-cart-modal .text-primary-dark {
  color: #0F172A;
}

.athletic-cart-modal .cart-thumb-wrap {
  width: 64px;
  height: 64px;
  background: #F1F5F9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.athletic-cart-modal .cart-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.athletic-cart-modal .cart-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #F1F5F9;
}

.athletic-cart-modal .cart-item-name {
  color: #0F172A;
  font-size: 0.95rem;
}

.athletic-cart-modal .cart-item-total {
  color: #0F172A;
  font-size: 0.95rem;
}

.athletic-cart-modal .cart-qty-ctrl {
  background: #F8FAFC;
  border-color: #E2E8F0 !important;
}

.athletic-cart-modal .btn-qty-change {
  color: #0F172A;
  line-height: 1.2;
  font-size: 1rem;
  transition: color 0.15s ease;
}

.athletic-cart-modal .btn-qty-change:hover {
  color: #FF4500;
}

.athletic-cart-modal .btn-athletic-primary {
  background-color: #FF4500;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.athletic-cart-modal .btn-athletic-primary:hover {
  background-color: #E03D00;
  color: #FFFFFF;
}

.athletic-cart-modal .btn-athletic-primary:active {
  background-color: #C43500;
  color: #FFFFFF;
}

.athletic-cart-modal .btn-athletic-secondary {
  background-color: #F1F5F9;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.athletic-cart-modal .btn-athletic-secondary:hover {
  background-color: #E2E8F0;
  color: #0F172A;
}

.athletic-cart-modal .btn-remove-item {
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.athletic-cart-modal .btn-remove-item:hover {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .athletic-cart-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  .athletic-cart-modal .modal-body {
    max-height: calc(90vh - 200px);
    padding-left: 1rem;
    padding-right: 1rem;
  }
}