.section-cart{
    padding: 20px 0;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 24px;
}


.customer-info {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.customer-info__title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.customer-info__form-group {
    margin-bottom: 20px;
}

.customer-info__label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.customer-info__label--required::after {
    content: ' (*)';
    color: red;
}

.customer-info__input{
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.customer-info__input:focus,
.customer-info__select:focus,
.customer-info__textarea:focus {
    outline: none;
    box-shadow: none;
}

.customer-info__textarea {
    min-height: 80px;
    resize: vertical;
}

.customer-info__error {
    color: var(--color-main2);
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.radio-group {
    margin-bottom: 24px;
}

.radio-group__title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.radio-option {
    position: relative;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
  	width: 100%;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: var(--color-main);
    background: #f7fafc;
}

.radio-option__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option__input:checked~.radio-option__label {
    color: var(--color-main);
    font-weight: 600;
}

.radio-option__input:checked~.radio-option__label .radio-option__checkmark:after {
    display: block;
}

.radio-option--checked {
    border-color: var(--color-main);
  
}

.radio-option__label {
    display: flex;
    align-items: center;
    padding-left: 32px;
    position: relative;
    cursor: pointer;
    font-size: 15px;
}

.radio-option__checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
}

.radio-option__checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: red;
}

.radio-option__description {
    margin-top: 12px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 6px;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
}

.cart-summary {
    position: sticky;
    top: 20px;
}

.cart-summary__box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cart-summary__title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}


.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.cart-item:hover {
    border-color: var(--color-main);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.cart-item__image-wrapper {
    flex-shrink: 0;
}

.cart-item__image-link {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cart-item__image-link:hover .cart-item__image {
    transform: scale(1.1);
}

.cart-item__content {
    flex: 1;
    min-width: 0;
}

.cart-item__name-link {
    text-decoration: none;
    color: #2d3748;
    display: block;
    margin-bottom: 8px;
}

.cart-item__name-link:hover {
    color: var(--color-main);
}

.cart-item__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.cart-item__variant {
    font-size: 13px;
    color: #718096;
}

.cart-item__price-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.cart-item__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-main2);
}

.cart-item__old-price {
    font-size: 14px;
    color: #a0aec0;
    text-decoration: line-through;
}

.cart-item__discount {
    background: #fed7d7;
    color: #c53030;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item__quantity-label {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
}

.cart-item__quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.cart-item__quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #f7fafc;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item__quantity-btn:hover {
    background: red;
    color: #fff;
}

.cart-item__quantity-input {
    width: 40px;
    height: 28px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}

.cart-item__remove-btn {
    width: 28px;
    height: 28px;
    border: 2px solid red;
    background: #fff;
    color: red;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
}

.cart-item__remove-btn:hover {
    background: red;
    color: #fff;
    transform: rotate(90deg);
}

.cart-total {
 
}

.cart-total__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.cart-total__row--final {
    font-size: 18px;
    padding-top: 16px;
    border-top: 2px solid #e2e8f0;
}

.cart-total__label {
    font-weight: 600;
    color: #4a5568;
}

.cart-total__value {
    font-weight: 700;
    color: #2d3748;
}

.cart-total__value--highlight {
    font-size: 24px;
    color: var(--color-main2);
}

.cart-total__submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--color-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 16px;
    text-transform: uppercase;
}

.cart-total__submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 30, 0, 0.4);
}

.cart-total__submit-btn:active {
    transform: translateY(0);
}

/* Empty Cart */
.empty-cart {
    background: #fff;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-cart__icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-cart__text {
    font-size: 18px;
    color: #718096;
}
/* order-success */
.section-order-success{
 padding: 20px 0; 
}
 .order-success {
   max-width: 800px;
   margin: 0 auto;
   background: #fff;
   border-radius: 8px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   overflow: hidden;
}

.order-success__header {
  text-align: center;
  padding: 35px 20px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.order-success__icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.order-success__icon i {
  font-size: 28px;
  color: #22c55e;
}

.order-success__title {
  font-size: 28px;
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.order-success__body {
  padding: 30px;
}

.order-success__info {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.order-success__info-item {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.order-success__info-label {
  font-weight: 600;
  color: #000;
}

.order-success__products {
  margin-bottom: 25px;
}

.order-product {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #e5e5e5;
}

.order-product__image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.order-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-product__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-product__name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.order-product__info {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

.order-product__quantity,
.order-product__price {
  display: flex;
  align-items: center;
}

.order-product__price {
  color: #dc2626;
  font-weight: 600;
}

.order-success__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 2px solid #e5e7eb;
}

.order-success__total-label {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.order-success__total-amount {
  font-size: 24px;
  font-weight: 700;
  color: #dc2626;
}

.order-success__message {
  text-align: center;
  padding: 20px;
  background: #fef3c7;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #fde68a;
}

.order-success__message-text {
  color: #92400e;
  font-size: 15px;
  line-height: 1.8;
}

.order-success__footer {
  text-align: center;
  padding-bottom: 10px;
}

.order-success__button {
  display: inline-block;
  padding: 14px 40px;
  background: #dc2626;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
}

.order-success__button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
}
/* Responsive */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 640px) {
  	.order-success__header {
        padding: 30px 15px;
    }

    .order-success__title {
      font-size: 24px;
    }

    .order-success__body {
      padding: 20px 15px;
    }

    .order-product {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .order-product__image {
      width: 120px;
      height: 120px;
    }

    .order-product__info {
      flex-direction: column;
      gap: 8px;
    }

    .order-success__total {
      flex-direction: column;
      gap: 10px;
    }
  	
   
	/* cart */
    .customer-info,
    .cart-summary__box {
        padding: 16px;
    }

    .cart-item {
        flex-direction: column;
        padding: 12px;
    }

    .cart-item__image-link {
        width: 100%;
        height: auto;
    }

    .cart-item__actions {
        flex-wrap: wrap;
    }

    .cart-item__remove-btn {
        margin-left: 0;
    }

    .customer-info__title,
    .cart-summary__title {
        font-size: 16px;
    }
  .order-success__message{
  	padding: 10px;  
  }
}