.cart-total-row {
    font-weight: 700;
    font-size: larger;
}
[data-cart-warning][hidden] {
  display: none;
}
.addtocart-wrapper-container {
	width: 100%;
}

.promo__fieldset .form-item {
  margin: 0;
}

.promo__fieldset .input {
  padding-right: 95px;
}

.box .promo__result.button {
  width: auto;
  min-height: 0;
}

.addtocart-wrapper-container.product-card__cart-button,
.addtocart-wrapper-container.product__button {
  width: auto;
}

.addtocart-wrapper-container.product-card__cart-button .cart-button-form,
.addtocart-wrapper-container.product__button .cart-button-form,
.addtocart-wrapper-container.product__button .cart-button {
  width: 100%;
}

@media (min-width: 1280px) {
  .addtocart-wrapper-container.product__button {
    grid-column: span 2;
  }
}


/* Checkout page */


/**
 * @file
 * Styles for the cart module.
 */

/* Checkout page */
.checkout-form-layout {
  display: contents;
}

.page__form .form-item {
  margin: 0;
}

.form__fieldset--odd .form-item:first-child {
    grid-column: span 2;
}
#edit-delivery-method,
#edit-payment-method {
    display: contents;
    
}
.checkout-routes .js-form-type-radio {
    padding: 16px 20px;
    border: 1px solid #F0F5FD;
    border-radius: 4px;
    cursor: pointer;
}
.checkout-routes .js-form-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.checkout-routes label {
    cursor: pointer;
}
.form__routes.form-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
.js-form-type-radio:has(.form__routes:checked) {
    border-color: #2BB1EC;
}

.checkout-routes .route__text {
  display: inline-grid;
  vertical-align: middle;
}

.checkout-routes .route__text span {
  color: #a9b6cb;
  font-size: 14px;
  line-height: 1.1;
}

/* Confirmation page */
.order-confirmation {
  margin: 20px 0;
}

.confirmation-message {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Discounted prices */




/* Animation for cart count update */
@keyframes cartCountPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    color: #e74c3c;
  }
  100% {
    transform: scale(1);
  }
}

.cart-count-updated {
  animation: cartCountPulse 1s ease-in-out;
}

/* Cart notifications */
#cart-notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 300px;
  z-index: 9999;
}

.cart-notification {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  margin-bottom: 10px;
  padding: 15px 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-notification__content {
  flex: 1;
}

.cart-notification__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  margin-left: 10px;
  padding: 0;
}

.cart-notification--success {
  border-left: 4px solid #4CAF50;
}

.cart-notification--error {
  border-left: 4px solid #F44336;
}

.cart-notification--warning {
  border-left: 4px solid #FF9800;
}

.cart-notification--info {
  border-left: 4px solid #2196F3;
}

/* Order confirmation page styles */
.order-confirmation {
  margin: 20px 0;
}

.confirmation-message {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.order-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.order-summary-table th,
.order-summary-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.order-item-promo {
  margin-top: 5px;
  font-size: 0.9em;
}

.promo-tag {
  background-color: #e74c3c;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  margin-right: 5px;
}

.discount-percent {
  color: #e74c3c;
  font-weight: bold;
}

.order-discount-row {
  background-color: #fdf0ed;
}

.discount-label {
  font-weight: bold;
  text-align: right;
}

.order-discount {
  color: #e74c3c;
  font-weight: bold;
}
/*
.original-price,
.original-total {
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
  display: inline-block;
}

.discounted-price,
.discounted-total {
  color: #e74c3c;
  font-weight: bold;
}*/

.promo-codes-summary {
  margin-top: 20px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.promo-codes-list {
  list-style-type: none;
  padding-left: 10px;
}

.promo-codes-list li {
  margin: 5px 0;
  padding: 3px 8px;
  background-color: #e6e6e6;
  display: inline-block;
  border-radius: 3px;
}
