#storeCartModal .modal-dialog {
  max-height: 90vh;
  margin: 1.75rem auto;
}

#storeCartModal .modal-content.botanical-modal-content {
  background-color: #FAF7F2;
  border: 1px solid #E6DDD4;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(31, 46, 35, 0.12);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

#storeCartModal .modal-header.botanical-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E6DDD4;
  padding: 1rem 1.5rem;
}

#storeCartModal .modal-body.botanical-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem;
  background-color: #FAF7F2;
}

.text-forest {
  color: #2D5A3C !important;
}

.text-terracotta {
  color: #D87D4A !important;
}

.text-secondary-custom {
  color: #5A6B5F !important;
}

.bg-surface-secondary {
  background-color: #F5EFEB !important;
}

.cart-item-row {
  background: #FFFFFF;
  border: 1px solid #E6DDD4 !important;
  border-radius: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s ease;
}

.cart-item-row:hover {
  border-color: #D4C8BC !important;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #ECE4DC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-placeholder {
  color: #7FA355;
  font-size: 1.75rem;
}

.cart-item-title {
  color: #1F2E23;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.cart-item-title:hover {
  color: #2D5A3C;
}

.cart-qty-group {
  border: 1px solid #D4C8BC !important;
  background: #FFFFFF;
}

.btn-qty-change {
  color: #2D5A3C;
  font-weight: bold;
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.btn-qty-change:hover {
  background-color: #E8F0EA;
  color: #22452E;
}

.btn-cart-remove {
  font-size: 0.8rem;
  color: #C62828 !important;
  transition: opacity 0.2s ease;
}

.btn-cart-remove:hover {
  opacity: 0.8;
}

.btn-botanical-primary {
  background-color: #2D5A3C;
  border-color: #2D5A3C;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-botanical-primary:hover,
.btn-botanical-primary:focus {
  background-color: #22452E;
  border-color: #22452E;
  color: #FFFFFF;
}

.btn-botanical-primary:active {
  background-color: #183221;
  border-color: #183221;
  color: #FFFFFF;
}

.btn-outline-botanical {
  border: 1px solid #2D5A3C;
  color: #2D5A3C;
  background: transparent;
  font-weight: 600;
}

.btn-outline-botanical:hover {
  background-color: #E8F0EA;
  color: #22452E;
  border-color: #22452E;
}

.botanical-checkout-form .form-control,
.botanical-checkout-form .form-select {
  background-color: #FFFFFF;
  border: 1px solid #D4C8BC;
  color: #1F2E23;
  border-radius: 0.5rem;
}

.botanical-checkout-form .form-control:focus,
.botanical-checkout-form .form-select:focus {
  border-color: #2D5A3C;
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 60, 0.15);
}

[data-cart-indicator] {
  background-color: #D87D4A;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2em 0.55em;
  border-radius: 50rem;
}

@media (max-width: 576px) {
  #storeCartModal .modal-dialog {
    margin: 0.5rem;
    max-height: 95vh;
  }
  #storeCartModal .modal-content.botanical-modal-content {
    max-height: 95vh;
    border-radius: 1rem;
  }
  #storeCartModal .modal-body.botanical-body {
    padding: 1rem;
  }
  .cart-item-thumb {
    width: 50px;
    height: 50px;
  }
}