/*
    Styles for Checkout Page
*/

/* stylelint-disable selector-class-pattern, font-family-no-missing-generic-family-keyword */

.cm-item-badge {
  font-family: Raleway !important;
  display: flex;
  border: #568E2F solid 1px;
  color: #568E2F !important;
  width: auto;
  border-radius: 12px;
  line-height: 100%;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 4px 6px !important;
  margin-bottom: 4px;
}

.cm-item-badge-container {
  display: flex;
  align-items: center;
}

.woocommerce a.remove:hover {
  background: none !important;
}

.cm-checkout-heading h5 {
  font-family: Raleway !important;
  font-weight: 500;
  font-size: 30px;
  line-height: 37px;
  padding: 08px 8px;
  margin-top: 0;
  text-transform: uppercase;
  color: #568E2F;
}

.cm-checkout-disabled-field input {
  background-color: #f5f5f5 !important;
  border-color: #ddd !important;
  color: #777 !important;
  cursor: not-allowed;
  opacity: 1;
}

.checkout-items {
  padding: 16px 16px 0;
  flex-grow: 1;
  overflow-y: auto;
  border-width: 1px !important;
  border-style: solid;
  border-color: #F2F2F2;
}

.cm-mini-cart-empty-message {
  font-family: Raleway !important;
  display: flex !important;
  height: 500px !important;
  justify-content: center !important;
  font-size: 20px !important;
  align-items: center !important;
}

.cm-shipping-address-form {
  border: none !important;
  padding: 0 !important;
}

/* .cm-product-thumbnail {
	display: flex;
    justify-content: start;
	height: 80px !important;
	width: 80px !important;	
} */
.cm-product-thumbnail img {
  height: auto !important;
  width: 80px !important;
}

.cm-product-delete {
  align-content: flex-start;
  vertical-align: top !important;
}

.cm-product-name {
  Padding-right: 12px !important;
  width: 50% !important;
}

.cm-cart-button-cell-button {
  width: 100% !important;
  padding: 0 !important;
}

.cm-total-wraper {
  padding: 20px 15px !important;
  background: #F7F7F7 !important;
  margin-top: 20px !important;
}

.cm-shipping-heading {
  font-family: Raleway !important;
  font-size: 32px !important;
  line-height: 37px !important;
  font-weight: 500 !important;
  color: #568E2F !important;
  text-transform: uppercase !important;
}

.cm-shipping-method {
  padding: 40px 30px !important;
}

.cm-shipping-method .cm-checkout-shipment-method {
  background-color: #568E2F !important;
}

.cm-shipping-method span {
  font-family: Raleway !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 500 !important;
  color: #fff !important;
}

.cm-shipping-method li {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #c6e892 !important;
  padding: 8px 24px 8px 15px;
  border-radius: 20px;
}

.cm-checkbox-wrapper input {
  accent-color: #568E2F;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cm-checkout-coupon-row-first input {
  font-family: Raleway !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  line-height: 16px !important;
  padding: 8px 12px !important;
  border: 1px solid #E2F2E780 !important;
  background: #E2F2E780 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

.cm-shipping-method li input {
  display: none !important;
}

.cm-shipping-method ul {
  display: flex;
  gap: 20px;
}

.cm-shipping-method label::before {
  content: url("https://cannamedical.com/wp-content/uploads/2025/09/carbon_delivery-parcel.svg");
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  margin-top: 8px;
}

.cm-cart-button-cell-button button {
  width: 100% !important;
  margin-top: 0 !important;
}

.cm-shipping-label input[type="radio"]:checked+.cm-shipping-badge {
  background-color: #3e8e41;
}

.cm-week-padding {
  padding-top: 16px !important;
}

.cm-checkout-payment {
  padding: 40px 30px !important;
}

.cm-checkout-payment li {
  border: 1px solid #cbcbcb;
  padding: 20px !important;
  margin-bottom: 20px !important;
  transition: all 0.3s ease;
}

.cm-checkout-payment li input {
  display: none !important;
}

/* Ensure gateway fields show for the selected payment method */
.cm-checkout-payment .payment_box {
  display: none !important;
}

.cm-checkout-payment li:has(input[type="radio"]:checked) .payment_box {
  display: block !important;
}

.cm-checkout-payment li div {
  padding-left: 0 !important;
}

.cm-checkout-payment label {
  font-family: Raleway !important;
  font-size: 18px !important;
  line-height: 150% !important;
  font-weight: 500 !important;
  color: #000 !important;
}

.cm-checkout-payment ul {
  display: flex;
  flex-direction: column;
}

.cm-additional-field {
  padding: 40px 30px !important;
}

.cm-order-details li {
  font-family: Raleway !important;
  display: flex !important;
  align-items: center !important;
  border: 0 !important;
  margin-bottom: 4px !important;
  gap: 12px;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 150% !important;
  color: #000 !important;
  text-transform: capitalize !important;
}

.cm-checkout-checkbox-color {
  accent-color: #568E2F;
  width: 18px;
  height: 18px;
  cursor: pointer;
}


.cm-checkout-coupon-row-first label {
  display: contents !important;
  font-family: Raleway !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 16px !important;
}

.cm-checkout-billing-form p label {
  display: none !important;
}

.cm-checkout-payment li:has(input[type="radio"]:checked) {
  border: 1px solid #568E2F !important;
  color: #568E2F !important;

}

.cm-checkout-payment li:has(input[type="radio"]:checked) label {
  color: #568E2F !important;
  font-weight: 500 !important;
}

.cm-thankyou-success {
  font-family: Raleway !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 150% !important;
  vertical-align: middle !important;
  color: #000 !important;
  gap: 10px !important;
  text-transform: capitalize !important;
  margin-bottom: 8px !important;
}

.cm-thankyou-success-para {
  width: 750px !important;
  margin-bottom: 40px !important;
  font-size: 16px;
}

.cm-order-details {
  display: flex !important;
  flex-direction: column !important;
  padding: 30px !important;
  border: 1px solid #848484 !important;

}

.cm-checkout-coupon {
  padding: 0 !important;
}

.cm-checkout-coupon-wrapper {
  width: 100% !important;
  border: 0 !important;
  padding: 16px 14px !important;
  display: flex;
  align-items: end !important;
  flex-direction: row;
}

.cm-checkout-coupon-button {
  padding: 10px 16px !important;
  font-family: Raleway !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  background-color: #568E2F !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cm-checkout-coupon-button:hover {
  background-color: #9ac43a !important;
  color: #FFFFFF !important;
  border-color: #9ac43a !important;
}

.cm-checkout-coupon-row-last {
  display: flex;
  width: auto !important;
  justify-content: flex-end;
  margin-bottom: 0 !important;
  margin-left: 10px !important;
}

.cm-checkout-coupon-row-first {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.cm-order-details li strong {
  margin-top: 0 !important;
  color: #000 !important;
}

.cm-checkout-terms-text {
  font-family: Raleway !important;
  font-weight: 400 !important;
  font-style: Regular !important;
  font-size: 12px !important;
  line-height: 150% !important;
}

.cm-thankyou-order-detail-payment {
  font-family: Raleway !important;
  padding: 30px !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 150% !important;
  margin-bottom: 20px !important;
  color: #568E2F !important;
  border: 1px solid #848484 !important;
  display: flex;
  flex-direction: column;
}

.cm-checkout-payment-text {
  font-family: Raleway;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

.cm-thankyou-order-detail-payment-inside {
  font-family: Raleway !important;
  padding: 20px !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 150% !important;
  color: #000 !important;
  border: 1px solid #CBCBCB !important;
}

.woocommerce-MyAccount-content-wrapper {
  padding-top: 0 !important;
}

.cm-checkout-col-1 {
  padding: 40px 30px !important;
}

.cm-checkout-col-1 h3 {
  font-family: Raleway !important;
  line-height: 37px !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  color: #568E2F !important;
}

.cm-checkout-privacy-text {
  font-family: Raleway !important;
}

.cm-checkout-privacy-text p {
  margin-top: 0 !important;
}

.cm-checkout-terms-wrapper {
  padding: 10px0 24px !important;
}

.cm-checkbox-wrapper {
  padding: 0 !important;
  margin-bottom: 40px !important;
}

.cm-checkbox-wrapper h3 {
  font-size: 14px !important;
}

.cm-check {
  display: flex;
  flex-direction: column;
}

.product-quantity {
  width: 100px !important;
}

.product-subtotal {
  width: 130px !important;
}

.cm-product-thumbnail {
  display: flex;
  justify-content: start;
  height: 80px !important;
  width: 80px !important;

}

.cm-item-title {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 8px !important;
  font-size: 16px;
}

.cm-item-sub-text {
  font-family: Raleway !important;
  line-height: 100%;
  font-size: 10px;
  font-weight: 500;
  color: #575756;
  padding-left: 06px;
}

.cm-item-sub-text1 {
  font-family: Raleway !important;
  line-height: 100%;
  font-size: 10px;
  font-weight: 500;
  color: #858585;
  padding-top: 0;
  margin-top: 0;
}

.qty-input {
  font-family: Raleway !important;
  width: 40px !important;
  height: 30px !important;
  border: 1px solid rgb(0 0 0 / 20%);
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 0 !important;
  color: #281D1B;
  margin-top: 12px;
}

.cm-item-price {
  font-family: Raleway !important;
  font-weight: 600;
  margin-top: 0;
  font-size: 16px;
}

.cm-item-price-mobile {
  display: none;
}

.cm-checkout-subtotal td {
  padding-bottom: 20px !important;
}

.cm-checkout-subtotal {
  font-family: Raleway !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 600 !important;
}

.cm-checkout-product {
  align-items: flex-start;
}

.cm-checkout-total-border {
  border-top: 1px solid #000 !important;
}

.cm-checkout-total-td-border td {
  border-top: 0 !important;
}

.cm-checkout-subtotal th,
.cm-checkout-subtotal td {
  font-family: Raleway !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 600 !important;
  color: #000 !important;
  padding-top: 0 !important;
}

.cm-checkout-tax th,
.cm-checkout-tax td {
  font-family: Raleway !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 600 !important;
  color: #000 !important;
  padding-top: 0 !important;
  padding-bottom: 30px !important;
}

.cm-checkout-total {
  font-family: Raleway !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 600 !important;
  color: #000 !important;
  padding-top: 20px !important;
}

.cm-checkout-total-price {
  font-family: Raleway !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 500 !important;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0 !important;
  color: #000 !important;
}

.cm-checkout-total th {
  font-family: Raleway !important;
  border-top: 1px solid #000 !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 600 !important;
}

.cm-checkout-total td {
  font-family: Raleway !important;
  border-top: 0 !important;
  font-size: 16px !important;
  line-height: 150% !important;
  font-weight: 600 !important;
  display: flex;
  justify-content: flex-end;
}

.cm-order-review-heading {
  font-family: Raleway !important;
  font-weight: 600;
  font-size: 22px;
  line-height: 150%;
  color: #568E2F !important;
}

.cm-checkout-review-coupon-value th,
.cm-checkout-review-coupon-value td,
.cm-checkout-review-coupon-value td a,
.cm-checkout-review-coupon-value td span,
.cm-checkout-review-coupon-value td:before {
  color: #568E2F !important;
}

.cm-checkout-offline-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cm-checkout-payment-offline-description {
  width: fit-content;
}

.cm-checkout-payment-offline-description p {
  background-color: #568E2F1A;
  color: #44672C;
  font-family: Raleway;
  font-weight: 700;
  font-size: 12px;
  line-height: 150%;
  padding: 4px 6px;
  border-radius: 7px;
}


@media (width <=1440px) {
  .cm-rs-checkout-gram-font {
    font-size: 12px !important;
  }

  .cm-rs-checkout-gram-font span {
    font-size: 12px !important;
  }
}


@media (width <=768px) {
  .cm-item-price {
    display: none;
  }

  .cm-checkout-display {
    display: none;
  }

  .cm-checkout-responsive-wrapper .e-checkout__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .cm-item-price-mobile {
    font-family: Raleway !important;
    display: inline-block;
    margin-left: 4px !important;
    color: #000;
    font-weight: 600;
    font-size: 16px;
  }

  .qty-price-wrap {
    display: flex;
    align-items: center;
    margin-top: 12px;
    gap: 8px;
  }

  .qty-input {
    margin-top: 0;
  }

  .cm-thankyou-success-para {
    width: 100% !important;
  }
}

@media (width <=450px) {
  .cm-shipping-method {
    padding: 20px 16px !important;
  }

  .cm-thankyou-success {
    font-family: Raleway !important;
    font-size: 16px !important;
  }

  .cm-thankyou-success-para {
    font-family: Raleway !important;
    font-size: 14px !important;
  }

  .cm-order-review-heading {
    font-family: Raleway !important;
    font-size: 18px !important;
  }

  .cm-checkout-col-1 {
    padding: 20px 16px !important;
  }

  .cm-checkout-payment {
    padding: 20px 16px !important;
  }

  .cm-additional-field {
    padding: 20px 16px !important;
  }

  .cm-checkout-billing-heading h3 {
    font-family: Raleway !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 37px !important;
    text-transform: uppercase;
  }

  .cm-product-name {
    width: 60% !important;
  }

  .cm-shipping-heading {
    font-family: Raleway !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 37px !important;
    text-transform: uppercase;
  }

  .cm-checkout-heading h5 {
    font-family: Raleway !important;
    font-weight: 500;
    font-size: 20px;
    line-height: 37px;
    padding: 0 8px 8px;
    margin-top: 0;
    text-transform: uppercase;
    color: #568E2F;
  }

  .cm-product-delete {
    justify-items: end;
  }

  .cm-checkout-subtotal th {
    font-family: Raleway !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .cm-checkout-subtotal td {
    font-family: Raleway !important;
    font-size: 16px !important;
  }

  .cm-checkout-tax th {
    font-family: Raleway !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .cm-checkout-tax td {
    font-family: Raleway !important;
    font-size: 16px !important;
  }

  .cm-checkout-total {
    font-family: Raleway !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .cm-checkout-total-price {
    font-family: Raleway !important;
    font-size: 16px !important;
  }

  .cm-product-thumbnail img {
    height: 80px !important;
    width: 80px !important;
  }

  .cm-checkout-shipping-list ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .cm-checkout-product td {
    border-top: 1px solid #CBCBCB !important;
  }

  .cm-product-thumbnail {
    width: 100% !important;
  }

  .cm-checkout-coupon-wrapper {
    padding: 16px0 !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cm-checkout-coupon-row-last {
    width: 100% !important;
  }

  .cm-checkout-coupon-button {
    width: 100% !important;
  }

  /* 	.cm-cart-button-cell-button{
		width: 100% !important;
	}
	.cm-cart-button-cell-button button{
		margin-top: 24px !important;
		width: 100% !important;
	} */
}