p {
    margin: 0;
}

.coupon_container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.coupon_container p {
    font-size: 14px;
    color: var(--color-text-light);
}

.coupon {
    padding: .2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.coupon input {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.coupon input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.1);
}

.coupon button {
    padding: 0.5rem 1.5rem;
    background: var(--color-primary-dark);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.checkout_container {
    padding: 2rem 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.billing-shipping,
.order-summary,
.payment-info {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    /* box-shadow: 0 4px 6px rgba(0,0,0,0.08); */
    transition: transform 0.2s ease;
}

.billing-shipping h5,
.order-summary h5,
.payment-info h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-align: left;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 5px;
}

.shipping-info-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--color-text);
}

.form-control,
.form-select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
}

.orders {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}

.product-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details {
  flex: 1;
}

.product-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-quantity input {
  width: 45px;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 0;
}

.qty-btn {
  background: #f5f5f5;
  border: 1px solid #ddd;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* .total {
  display: flex;
  align-items: center;
  gap: 10px;
} */

.delete-btn {
  background: #f8f8f8;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
  margin-left: 10px;
}

.delete-btn:hover {
  background: #ffefef;
  color: #e63946;
}

.total-amount strong {
  font-weight: 600;
  font-size: 0.9rem;
  color: #222;
}

.subtotal, .total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 10px 0;
}

.subtotal strong,
.shipping strong,
.total strong {
  font-weight: 600;
  color: #222;
}

.shipping-delivery {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shipping span {
  font-size: 0.85rem;
  color: #666;
  display: block;
}

.order-summary .total {
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 2px solid #f5f5f5;
  margin-top: 10px;
  padding-top: 14px;
}

.payment-info {
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.payment-info .payment-desc {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    width: 100%;
}

.pay-btn ion-icon {
    font-size: 20px;
}

.whatsapp-pay {
    background: #25D366;
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-pay:hover {
    background: #1ebd5b;
}

.telegram-pay {
    background: #0088cc;
    box-shadow: 0 3px 8px rgba(0, 136, 204, 0.3);
}

.telegram-pay:hover {
    background: #0077b3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal .modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
}

.modal.show {
  display: flex;
}
