/* Addon Suggestion Modal Styles */

.addon-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 43, 86, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.addon-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.addon-modal-content {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 0;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.addon-modal-overlay.active .addon-modal-content {
  transform: scale(1);
}

.addon-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #F0F0F0;
}

.addon-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A2B56;
  margin: 0;
}

.addon-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.addon-modal-close:hover {
  background: #F0F0F0;
  color: #E94E77;
}

.addon-modal-subtext {
  padding: 0 24px;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.addon-suggestions-list {
  padding: 0 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #F0F0F0;
  align-items: center;
  transition: all 0.3s ease;
}

.addon-card:hover {
  border-color: #E94E77;
  background: #FFFBFC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 78, 119, 0.08);
}

.addon-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.addon-no-image {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #E94E77 0%, #FF6B8A 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.addon-info {
  flex: 1;
}

.addon-name {
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #1A2B56;
  margin: 0 0 4px 0;
}

.addon-price {
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #E94E77;
}

.addon-quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.addon-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #E94E77;
  background: #FFFFFF;
  color: #E94E77;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.addon-qty-btn:hover {
  background: #E94E77;
  color: #FFFFFF;
}

.addon-qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #1A2B56;
}

.addon-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #F0F0F0;
  background: #FAFAFA;
  border-radius: 0 0 24px 24px;
}

.addon-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.addon-total-label {
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #666;
}

.addon-total-value {
  font-size: 18px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #E94E77;
}

.addon-continue-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #E94E77 0%, #FF9966 100%);
  border: none;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.addon-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 78, 119, 0.3);
}

.addon-continue-btn:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .addon-modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    top: auto;
  }
  
  .addon-modal-header {
    padding: 20px 16px;
  }
  
  .addon-modal-header h3 {
    font-size: 18px;
  }
  
  .addon-modal-close {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  
  .addon-modal-subtext {
    padding: 0 16px;
    font-size: 13px;
  }
  
  .addon-suggestions-list {
    padding: 0 16px;
  }
  
  .addon-card {
    gap: 12px;
    padding: 12px;
  }
  
  .addon-thumb,
  .addon-no-image {
    width: 50px;
    height: 50px;
  }
  
  .addon-name {
    font-size: 14px;
  }
  
  .addon-price {
    font-size: 14px;
  }
  
  .addon-modal-footer {
    padding: 16px;
    border-radius: 0;
  }
  
  .addon-continue-btn {
    font-size: 14px;
    padding: 12px 16px;
  }
}
