/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/**
 * Quick Order Form Styles (SCSS)
 */
.fl-quick-order-wrapper {
  margin: 30px 0;
}
@media (max-width: 767px) {
  .fl-quick-order-wrapper {
    padding: 20px 15px;
  }
}

.fl-quick-order-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px;
  cursor: pointer;
  position: relative;
}
.fl-quick-order-title .info-icon svg {
  max-width: 16px;
  width: 100%;
}
.fl-quick-order-title .info-icon svg path {
  fill: #b69b89;
}
.fl-quick-order-title:hover .fl-quick-order-desc {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .fl-quick-order-title {
    font-size: 20px;
  }
}

.fl-quick-order-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.fl-quick-order-form .fl-quick-order-fields {
  position: relative;
  width: 100%;
}
.fl-quick-order-form .fl-quick-order-fields input {
  padding: 18px 118px 18px 30px;
  border-radius: 50px;
}
.fl-quick-order-form .fl-quick-order-fields button {
  text-transform: uppercase;
  font-size: 15px;
  position: absolute !important;
  right: 0;
  top: 0;
  height: 100%;
  padding: 0 30px !important;
  z-index: 2;
  color: #b69b89;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
  padding-top: 4px !important;
}
.fl-quick-order-form .fl-quick-order-fields button:hover {
  opacity: 0.6;
}

.fl-quick-order-desc {
  color: #666;
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 100%;
  background: #f6f3f1;
  padding: 20px;
  width: 250px;
  z-index: 999;
  -webkit-transform: translateY(10px);
  -ms-transform: translateY(10px);
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  transition: 0.3s ease;
}

.fl-quick-order-product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background-color: #fff;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.fl-quick-product-name {
  font-weight: 500;
  font-size: 16px;
  color: #333;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
@media (max-width: 767px) {
  .fl-quick-product-name {
    font-size: 14px;
  }
}

.fl-quick-product-price {
  font-weight: 600;
  color: var(--primary-color, #e26969);
  font-size: 18px;
}
@media (max-width: 767px) {
  .fl-quick-product-price {
    font-size: 16px;
  }
}

.fl-form-field {
  margin-bottom: 15px;
}
.fl-form-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}
.fl-form-field label .required {
  color: var(--primary-color, #e26969);
}
.fl-form-field input,
.fl-form-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  -webkit-transition: border-color 0.3s;
  -o-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.fl-form-field input:focus,
.fl-form-field textarea:focus {
  border-color: var(--primary-color, #e26969);
  outline: none;
}
.fl-form-field textarea {
  resize: vertical;
  min-height: 60px;
}

.fl-quick-order-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.fl-quick-order-messages {
  display: none;
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
}
.fl-quick-order-messages.success {
  display: block;
  background-color: #e7f8ed;
  color: #28a745;
  border: 1px solid #d4edda;
}
.fl-quick-order-messages.error {
  display: block;
  background-color: #fff5f5;
  color: #dc3545;
  border: 1px solid #f5c6cb;
}

/* Treomax Quick Purchase Success Message */
.treomax-qp-success {
  margin: 20px 0;
  text-align: center;
}

.treomax-qp-success h3 {
  color: #28a745;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.treomax-qp-success .treomax-qp-close {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.treomax-qp-success .treomax-qp-close:hover {
  background: #218838;
}

.treomax-qp-success .treomax-qp-close:active {
  background: #1e7e34;
}

/* Checkout Coupon Styles */
.checkout-coupon-section {
    margin: 20px 0;
    padding: 0px 0px 0px 15px;
    /* background: #f9f9f9; */
    border: 1px solid #eaeaeb;
    border-radius: 0;
}

.checkout-coupon-section .checkout_coupon {
    margin: 0;
}

.checkout-coupon-section .coupon-entry-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-coupon-section .row-entry-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.checkout-coupon-section .winnerstore-custom-two-icon-tag {
    font-size: 16px;
    color: #666;
    margin-right: 5px;
}

.checkout-coupon-section input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 0px solid #ddd;
    border-radius: 0;
    font-size: 0.8125rem;
    min-height: 45px;
    box-sizing: border-box;
    margin-bottom: 0px;
}

.checkout-coupon-section input[type="text"]:focus {
    outline: none;
    border-color: #1c1f23;
}

.checkout-coupon-section button {
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 0.875rem !important;
    min-height: 45px;
    padding: 10px 25px;
    color: #fff;
    background: #1c1f23;
    transition: all .3s;
    cursor: pointer;
    white-space: nowrap;
}

.checkout-coupon-section button:hover {
    background-color: #1F242A !important;
    color: white !important;
    border-color: #1c1f23;
    transition: all .3s;
}

.checkout-coupon-section button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.coupon-info {
    margin-top: 10px;
    padding: 10px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 3px;
    display: none;
}

.coupon-info.show {
    display: block;
}

.coupon-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
    display: none;
}

.coupon-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.coupon-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.coupon-applied {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.coupon-name {
  font-weight: 600;
}

.coupon-discount {
  color: #28a745;
  font-weight: 500;
}

.remove-coupon {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.remove-coupon:hover {
  color: #c82333;
}

/* Price Summary Styles */
.treomax-qp-price-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  font-family: inherit;
}

.treomax-qp-price-summary .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.treomax-qp-price-summary .price-row:last-child {
  margin-bottom: 0;
}

.treomax-qp-price-summary .price-label {
  font-weight: 500;
  color: #495057;
}

.treomax-qp-price-summary .price-value {
  font-weight: 600;
  color: #212529;
}

.treomax-qp-price-summary .discount-row {
  color: #28a745;
}

.treomax-qp-price-summary .discount-label {
  color: #28a745;
}

.treomax-qp-price-summary .discount-value {
  color: #28a745;
}

.treomax-qp-price-summary .total-price {
  border-top: 1px solid #dee2e6;
  padding-top: 8px;
  margin-top: 8px;
  font-size: 16px;
}

.treomax-qp-price-summary .total-label {
  font-weight: 600;
  color: #212529;
}

.treomax-qp-price-summary .total-value {
  font-weight: 700;
  color: #d40f1b;
  font-size: 18px;
}

@media (max-width: 768px) {
    .checkout-coupon-section .row-entry-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .checkout-coupon-section input[type="text"],
    .checkout-coupon-section button {
        width: 100%;
    }
}
  
  .treomax-qp-price-summary {
    padding: 12px;
    margin: 12px 0;
  }
  
  .treomax-qp-price-summary .price-row {
    font-size: 13px;
  }
  
  .treomax-qp-price-summary .total-price {
    font-size: 15px;
  }
  
  .treomax-qp-price-summary .total-value {
    font-size: 16px;
  }
}
