.pharmacy-cart {
  width: 100%;
  padding: 40px 100px;
}

.pharmacy-cart__header {
  margin-bottom: 78px;
}

.pharmacy-cart__header h2 {
  color: #2e3f3b;
}

.pharmacy-cart__progress {
  display: flex;
  justify-content: end;
}

.pharmacy-cart__progress .shipping-progress {
  padding-top: 13px;
  padding-bottom: 13px;
}

.pharmacy-cart__progress .shipping-progress__row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.pharmacy-cart__progress .shipping-progress__label-left {
  color: #2e3f3b;
  white-space: nowrap;
  margin-right: 8px;
}

.pharmacy-cart__progress .shipping-progress__bar-container {
  width: 558px;
  position: relative;
}

.pharmacy-cart__progress .shipping-progress__bar {
  position: relative;
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
}

.pharmacy-cart__progress .shipping-progress__bar__fill {
  height: 100%;
  background-color: #3f7756;
  border-radius: 5px;
  transition: width 0.3s ease;
  width: 0%;
}

.pharmacy-cart__progress .shipping-progress__bar__markers {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 20px;
  pointer-events: none;
}

.pharmacy-cart__progress .shipping-progress__bar__markers__marker {
  position: absolute;
  font-size: 12px;
  color: #2e3f3b;
  font-weight: 500;
  text-align: center;
  transform: translateX(-50%);
}

.pharmacy-cart__progress .shipping-progress__bar__markers__marker.filled {
  color: #3f7756;
}

.pharmacy-cart__progress .shipping-progress__bar__separators {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
}

.pharmacy-cart__progress .shipping-progress__bar__separator {
  position: absolute;
  top: 0;
  width: 4px;
  height: 10px;
  background-color: white;
  transform: translateX(-50%);
}

.pharmacy-cart__progress .shipping-progress__label-right {
  font-size: 14px;
  color: #2e3f3b;
  font-weight: 500;
  white-space: nowrap;
}

.pharmacy-cart__progress .shipping-progress__label-right .spend-text {
  color: #2e3f3b;
}

.pharmacy-cart__progress .shipping-progress__label-right .spend-amount,
.pharmacy-cart__progress .shipping-progress__label-right .qualified-text {
  color: #3f7756;
}

.pharmacy-cart__empty {
  text-align: center;
  padding: 4rem 0;
}

.pharmacy-cart__empty p {
  font-size: 1.125rem;
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.pharmacy-cart__content__form__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: transparent;
}

.pharmacy-cart__content__form__table th {
  background-color: transparent;
  padding: 24px 1rem;
  text-align: left;
  font-weight: 400;
  font-size: 16px;
  color: #555555;
  border-bottom: 1px solid #d3d5de;
  border-top: 1px solid #d3d5de;
  border-left: none;
  border-right: none;
}

.pharmacy-cart__content__form__table td {
  padding: 24px 1rem;
  border-bottom: 1px solid #d3d5de;
  border-left: none;
  border-right: none;
  vertical-align: middle;
}

.pharmacy-cart__content__form__table .cart-item__product__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pharmacy-cart__content__form__table .cart-item__product__details__group {
  font-size: 16px;
  color: #69a3a8;
  font-weight: 600;
}

.pharmacy-cart__content__form__table .cart-item__product__details__name {
  color: #2e3f3b;
  text-decoration: none;
  cursor: pointer;
}

.pharmacy-cart__content__form__table .cart-item__product__details__name:hover {
  text-decoration: underline;
}

.pharmacy-cart__content__form__table .cart-item__quantity .quantity-selector {
  display: flex;
  align-items: center;
  background: #f4f4f4;
  border-radius: 50px;
  width: 143px;
  height: 56px;
  padding: 0px 14px;
}

.pharmacy-cart__content__form__table .cart-item__quantity .quantity-selector__minus,
.pharmacy-cart__content__form__table .cart-item__quantity .quantity-selector__plus {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 7px;
}

.pharmacy-cart__content__form__table .cart-item__quantity .quantity-selector__minus svg,
.pharmacy-cart__content__form__table .cart-item__quantity .quantity-selector__plus svg {
  width: 16px;
  height: 16px;
}

.pharmacy-cart__content__form__table .cart-item__quantity .quantity-selector__number {
  flex: 1;
  display: flex;
  justify-content: center;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 500;
  align-items: center;
}

.pharmacy-cart__content__form__table .cart-item__subtotal {
  font-weight: 600;
  color: #2e3f3b;
}

.pharmacy-cart__content__form__table .cart-item__price,
.pharmacy-cart__content__form__table .cart-item__dosage,
.pharmacy-cart__content__form__table .cart-item__country,
.pharmacy-cart__content__form__table .cart-item__package {
  color: #555555;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
}

.pharmacy-cart__content__form__table .cart-item__remove__button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.pharmacy-cart__content__form__table .cart-item__remove__button svg {
  width: 24px;
  height: 24px;
}

.pharmacy-cart__content__form__actions {
  margin-bottom: 2rem;
}

.pharmacy-cart__content__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 55px;
}

.pharmacy-cart__content__bottom__left {
  flex: 1;
}

.pharmacy-cart__content__bottom__left a {
  width: 260px;
  height: 60px;
  font-weight: 600;
}

.pharmacy-cart__content__bottom__right {
  width: 517px;
  margin-top: 36px;
}

.pharmacy-cart__content__bottom__right .cart-totals {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pharmacy-cart__content__bottom__right .cart-totals h3 {
  margin-bottom: 1.5rem;
  color: #2e3f3b;
}

.pharmacy-cart__content__bottom__right .cart-totals__data {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pharmacy-cart__content__bottom__right .cart-totals__data__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pharmacy-cart__content__bottom__right .cart-totals__data__row--total {
  border-top: 1px solid #d3d5de;
  padding-top: 24px;
}

.pharmacy-cart__content__bottom__right .cart-totals__data__row__label {
  color: #555555;
  font-size: 20px;
  font-weight: 400;
}

.pharmacy-cart__content__bottom__right .cart-totals__data__row__value {
  font-size: 18px;
  font-weight: 400;
  color: #2e3f3b;
}

.pharmacy-cart__content__bottom__right .cart-totals__coupon {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pharmacy-cart__content__bottom__right .cart-totals__coupon__input {
  flex: 1;
  height: 60px;
  padding: 16px 18px;
  border: 1px solid #d3d5de;
  border-radius: 50px;
  font-size: 16px;
  color: #2e3f3b;
  background: white;
}

.pharmacy-cart__content__bottom__right .cart-totals__coupon__input::placeholder {
  color: #696969;
}

.pharmacy-cart__content__bottom__right .cart-totals__coupon__input:focus {
  outline: none;
  border-color: #3f7756;
}

.pharmacy-cart__content__bottom__right .cart-totals__coupon__apply {
  height: 60px;
  width: 176px;
  background-color: #dbedeb;
  font-size: 16px;
  color: #2e3f3b;
}

.pharmacy-cart__content__bottom__right .cart-totals__checkout {
  width: 100%;
  height: 60px;
  font-size: 16px;
  font-weight: 600;
}

.pharmacy-cart-wrapper {
  display: flex;
  flex-direction: column;
}

.cart-related-products {
  display: flex;
  flex-direction: column;
  padding: 44px 100px;
  background-color: #fbfbfb;
  gap: 61px;
  justify-content: center;
}

.cart-related-products h3 {
  color: #2e3f3b;
  line-height: 64px;
  text-align: center;
}

.cart-related-products__list {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

/* ========================================
   RESPONSIVE: CHECKOUT PAGE
   ======================================== */

@media (max-width: 1024px) {
  .page-checkout {
    flex-direction: column;
    gap: 0;
  }

  .cart-totals h5 {
    font-size: 36px;
    line-height: 46px;
  }

  .page-checkout__leftSide {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-checkout__rightSide {
    width: 100%;
    border-left: none;
    border-top: 1px solid #d3d5de;
    min-height: auto !important;
    padding: 32px 20px;
    box-shadow: none;
  }

  .page-checkout__rightSide__body {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .page-checkout__leftSide {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 40px !important;
  }

  .page-checkout__leftSide__prescriptionBox {
    flex-direction: column;
    gap: 16px;
  }

  .page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 {
    flex-direction: column;
    gap: 16px;
  }

  .page-checkout__leftSide__prescriptionBox__buttonBox,
  .page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 .page-checkout__leftSide__prescriptionBox__buttonBox,
  .page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 .page-checkout__leftSide__prescriptionBox__buttonBox input[type=button],
  .page-checkout__leftSide__prescriptionBox__buttonBox button {
    width: 100%;
  }

  .page-checkout__leftSide__registerBox {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-checkout__leftSide__registerBox a,
  .page-checkout__leftSide__billingInfo button {
    width: 100%;
  }

  .page-checkout__leftSide__billingInfo__content__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .page-checkout__leftSide__billingInfo__content__row__value {
    text-align: left;
    width: 100%;
  }

  .page-checkout__rightSide {
    padding: 24px 20px;
  }

  .page-checkout__rightSide__footer a,
  .page-checkout__rightSide__footer button {
    width: 100%;
  }

  .page-checkout__rightSide__body .checkout-item__attributes {
    align-items: flex-start !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .page-checkout__rightSide__body .checkout-item__attributes .attribute-item.attribute-second,
  .page-checkout__rightSide__body .checkout-item__attributes .attribute-item.attribute-third {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .page-checkout__rightSide__body .checkout-item__attributes .attribute-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .page-checkout__rightSide {
    width: auto !important;
  }
}

.page-checkout {
  display: flex;
  gap: 31px;
}

.page-checkout__leftSide {
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  padding-left: 100px;
  flex: 1;
}

.page-checkout__leftSide h2 {
  color: #2e3f3b;
}

.page-checkout__leftSide__prescriptionBox {
  display: flex;
  border-radius: 15px;
  background-color: #dbedeb;
  gap: 25px;
  padding: 24px;
  justify-content: space-between;
  margin-top: 32px;
  margin-bottom: 20px;
}

.page-checkout__leftSide__prescriptionBox .woocommerce-form-coupon-toggle,
.page-checkout__leftSide__prescriptionBox .form-row.form-row-first,
.page-checkout__leftSide__prescriptionBox .form-row.form-row-last,
.page-checkout__leftSide__prescriptionBox .clear,
.page-checkout__leftSide__prescriptionBox .woocommerce-notices-wrapper {
  display: none !important;
}

.page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 {
  display: flex;
  gap: 25px;
}

.page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 .page-checkout__leftSide__prescriptionBox__buttonBox {
  min-width: 260px;
}

.page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 .page-checkout__leftSide__prescriptionBox__buttonBox input[type=button] {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  gap: 9px;
  text-decoration: none;
  height: 69px;
  background: #2e3f3b;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  width: 259px;
  height: 69px;
}

.page-checkout__leftSide__prescriptionBox div#alg_checkout_files_upload_form_1 .page-checkout__leftSide__prescriptionBox__buttonBox input[type=button]:hover {
  background: #69a3a8;
}

.page-checkout__leftSide__prescriptionBox p {
  display: flex;
  align-items: start;
  gap: 10px;
}

.page-checkout__leftSide__prescriptionBox__buttonBox {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-checkout__leftSide__prescriptionBox__buttonBox button {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  width: 259px;
  height: 69px;
}

.page-checkout__leftSide__prescriptionBox__buttonBox span {
  color: #696969;
  padding: 4px 8px;
}

.page-checkout__leftSide__registerBox {
  display: flex;
  border-radius: 15px;
  background-color: #ebf8f2;
  gap: 15px;
  padding: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 31px;
}

.page-checkout__leftSide__registerBox p {
  color: #2e3f3b;
  flex: 1;
}

.page-checkout__leftSide__registerBox a {
  height: 40px;
  width: 160px;
  font-weight: 600;
  font-size: 16px;
}

.page-checkout__leftSide__billingInfo {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 575px;
  margin-bottom: 24px;
}

.page-checkout__leftSide__billingInfo button {
  height: 40px;
  width: 160px;
  font-weight: 600;
  font-size: 16px;
}

.page-checkout__leftSide__billingInfo p {
  color: #181a1b;
}

.page-checkout__leftSide__billingInfo__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-checkout__leftSide__billingInfo__content__row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.page-checkout__leftSide__billingInfo__content__row__label {
  color: #696969;
}

.page-checkout__leftSide__billingInfo__content__row__value {
  color: #2e3f3b;
  text-align: right;
}

.page-checkout__rightSide {
  width: 712px;
  padding: 64px 24px 24px 24px;
  background-color: #f7f7f7;
  border-left: 1px solid #d3d5de;
  box-shadow: 0px 8px 12px 0px rgba(0, 0, 0, 0.0509803922);
  min-height: 1400px;
  gap: 24px;
  display: flex;
  flex-direction: column;
}

.page-checkout__rightSide h4 {
  color: #2e3f3b;
}

.page-checkout__rightSide__body {
  flex: 1;
  max-height: 500px;
  overflow-y: auto;
}

.page-checkout__rightSide__body .checkout-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-checkout__rightSide__body .checkout-item {
  display: flex;
  gap: 12px;
  padding: 16px 0px;
  border-bottom: 1px solid #dbedeb;
}

.page-checkout__rightSide__body .checkout-item__remove {
  height: min-content;
  margin-top: 4px;
  display: inline-flex;
}

.page-checkout__rightSide__body .checkout-item__remove .remove-cart-item {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.page-checkout__rightSide__body .checkout-item__remove .remove-cart-item:hover {
  background-color: #f4f4f4;
}

.page-checkout__rightSide__body .checkout-item__remove .remove-cart-item svg {
  width: 16px;
  height: 16px;
  fill: #696969;
}

.page-checkout__rightSide__body .checkout-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-checkout__rightSide__body .checkout-item__name {
  color: #555555;
}

.page-checkout__rightSide__body .checkout-item__group {
  color: #69a3a8;
  font-size: 16px;
  font-weight: 600;
}

.page-checkout__rightSide__body .checkout-item__attributes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  line-height: 1.3;
  width: 90%;
}

.page-checkout__rightSide__body .checkout-item__attributes .attribute-item.attribute-second,
.page-checkout__rightSide__body .checkout-item__attributes .attribute-item.attribute-third {
  border-left: 1px solid #d3d5de;
  padding-left: 12px;
}

.page-checkout__rightSide__body .checkout-item__attributes .attribute-label {
  color: #696969;
  font-weight: 400;
}

.page-checkout__rightSide__body .checkout-item__attributes .attribute-value {
  color: #2e3f3b;
  font-weight: 500;
}

.page-checkout__rightSide__body .checkout-item__price-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}

.page-checkout__rightSide__body .checkout-item__price {
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  color: #555555;
}

.page-checkout__rightSide__body .checkout-item__quantity {
  color: #2e3f3b;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
}

.page-checkout__rightSide__body .checkout-empty {
  text-align: center;
  padding: 40px 24px;
  color: #696969;
}

.page-checkout__rightSide__body .checkout-empty p {
  margin: 0;
  font-size: 14px;
}

.page-checkout__rightSide__footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 29px;
  margin-top: 16px;
}

.page-checkout__rightSide__footer__checkout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-checkout__rightSide__footer__checkout__separator {
  height: 1px;
  width: 100%;
  background-color: #dbdee7;
}

.page-checkout__rightSide__footer__checkout__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}

.page-checkout__rightSide__footer__checkout__row__label {
  color: #2e3f3b;
}

.page-checkout__rightSide__footer__checkout__row__price {
  color: #2e3f3b;
}

.page-checkout__rightSide__footer button {
  font-size: 16px;
}

.page-checkout__rightSide__footer a {
  height: 69px;
  text-decoration: none;
}

.thankyou {
  display: flex;
  flex-direction: column;
  background-color: #fbfbfb;
  padding: 62px 100px;
}

.thankyou__headingBox {
  width: 920px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.thankyou__headingBox h2 {
  color: #69a3a8;
}

.thankyou__headingBox h2 span {
  font-weight: 300;
  color: #2e3f3b;
}

.thankyou__headingBox p {
  color: #555555;
}

.thankyou__headingBox button {
  width: 259px;
  margin-top: 4px;
  font-weight: 600;
}

@media (max-width: 1700px) {
  .cart-related-products__list .horizontal-card:nth-child(3) {
    display: none;
  }
}


/* ========================================
   RESPONSIVE: THANK YOU PAGE
   ======================================== */
@media (max-width: 900px) {
  .thankyou {
    padding: 40px 20px;
  }

  .thankyou__headingBox {
    width: 100%;
  }
}


/* ========================================
   RESPONSIVE: CART PAGE
   ======================================== */

@media (max-width: 900px) {
  .pharmacy-cart {
    padding: 40px 20px;
  }

  .pharmacy-cart__header {
    margin-bottom: 40px;
  }

  .pharmacy-cart__content__bottom {
    flex-direction: column;
    gap: 32px;
  }

  .pharmacy-cart__content__bottom__left a {
    width: 100%;
  }

  .pharmacy-cart__content__bottom__right {
    width: 100%;
    margin-top: 0;
  }

  /* Convert table to cards on mobile */
  .pharmacy-cart__content__form__table thead {
    display: none;
  }

  .pharmacy-cart__content__form__table,
  .pharmacy-cart__content__form__table tbody {
    display: block;
    width: 100%;
  }

  .pharmacy-cart__content__form__table tr {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "product"
      "dosage"
      "country"
      "package"
      "quantity-price"
      "subtotal";
    width: 100%;
    margin-bottom: 24px;
    padding-bottom: 24px;
    position: relative;
  }

  .pharmacy-cart__content__form__table .cart-item {
    border-bottom: 1px solid #d3d5de;
  }

  .pharmacy-cart__content__form__table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
  }

  /* Assign grid areas */
  .pharmacy-cart__content__form__table .cart-item__product {
    grid-area: product;
  }

  .pharmacy-cart__content__form__table .cart-item__dosage {
    grid-area: dosage;
  }

  .pharmacy-cart__content__form__table .cart-item__country {
    grid-area: country;
  }

  .pharmacy-cart__content__form__table .cart-item__package {
    grid-area: package;
  }

  .pharmacy-cart__content__form__table .cart-item__quantity {
    grid-area: quantity-price;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .pharmacy-cart__content__form__table .cart-item__price {
    grid-area: quantity-price;
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .pharmacy-cart__content__form__table .cart-item__subtotal {
    grid-area: subtotal;
  }

  .pharmacy-cart__content__form__table .cart-item__remove {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  /* Product details section */
  .pharmacy-cart__content__form__table .cart-item__product {
    margin-bottom: 16px;
  }

  .pharmacy-cart__content__form__table .cart-item__product__details__name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
  }

  /* Attributes in two-column layout */
  .pharmacy-cart__content__form__table .cart-item__dosage,
  .pharmacy-cart__content__form__table .cart-item__country,
  .pharmacy-cart__content__form__table .cart-item__package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
  }

  .pharmacy-cart__content__form__table .cart-item__dosage::before {
    content: "Dosage";
    color: #696969;
  }

  .pharmacy-cart__content__form__table .cart-item__country::before {
    content: "Country of origin";
    color: #696969;
  }

  .pharmacy-cart__content__form__table .cart-item__package::before {
    content: "Package size";
    color: #696969;
  }

  /* Quantity and price row - side by side */
  .pharmacy-cart__content__form__table .cart-item__quantity {
    width: auto !important;
    flex-shrink: 0;
    margin: 16px 0 12px 0;
  }

  .pharmacy-cart__content__form__table .cart-item__price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    margin: 16px 0 12px 0;
    font-size: 14px;
  }

  .pharmacy-cart__content__form__table .cart-item__price::before {
    content: "Price per unit:";
    color: #696969;
    white-space: nowrap;
  }

  /* Subtotal */
  .pharmacy-cart__content__form__table .cart-item__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    font-size: 16px;
  }

  .pharmacy-cart__content__form__table .cart-item__subtotal::before {
    content: "Subtotal";
    color: #2e3f3b;
    font-weight: 400;
  }

  /* Remove button */
  .pharmacy-cart__content__form__table .cart-item__remove {
    position: absolute;
    top: 16px;
    right: 16px;
    width: auto;
  }

  .cart-totals__coupon {
    flex-direction: column;
    gap: 16px;
  }

  .cart-totals__coupon__input,
  .cart-totals__coupon__apply {
    width: 100%;
  }

  .cart-related-products {
    padding: 40px 20px;
    gap: 40px;
  }

  .cart-related-products__list {
    flex-direction: column;
  }
}

@media (max-width: 1000px) {
  .pharmacy-cart__progress .shipping-progress__row {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .pharmacy-cart__progress .shipping-progress__bar-container {
    width: 100%;
  }

  .shipping-progress {
    width: 100%
  }
}

@media (max-width: 900px) {}

/* ========================================
   BILLING FORM STYLING
   ======================================== */

/* Billing section wrapper */
.woocommerce-billing-section {
  margin-top: 32px;
}

.woocommerce-billing-edit {
  display: block;
}

.woocommerce-billing-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.woocommerce-billing-fields h3 {
  color: #2e3f3b;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

/* Form wrapper - constrain width on desktop */
.woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  width: 80%;
  max-width: 100%;
}

/* Half-width fields (2 columns) */
.woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-billing-fields__field-wrapper #billing_first_name_field,
.woocommerce-billing-fields__field-wrapper #billing_last_name_field {
  flex: 1 1 calc(50% - 12px);
  min-width: 0;
}

/* Full-width fields */
.woocommerce-billing-fields__field-wrapper .form-row-wide {
  flex: 1 1 100%;
}

/* Individual form row */
.woocommerce-billing-fields__field-wrapper .form-row {
  margin: 0;
  padding: 0;
}

/* Mobile: stack to single column and full width */
@media (max-width: 768px) {
  .woocommerce-billing-fields__field-wrapper {
    width: 100%;
  }

  .woocommerce-billing-fields__field-wrapper .form-row-first,
  .woocommerce-billing-fields__field-wrapper .form-row-last,
  .woocommerce-billing-fields__field-wrapper #billing_first_name_field,
  .woocommerce-billing-fields__field-wrapper #billing_last_name_field {
    flex: 1 1 100%;
  }
}

/* Labels */
.woocommerce-billing-fields__field-wrapper label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #2e3f3b;
  margin-bottom: 8px;
}

.woocommerce-billing-fields__field-wrapper label .required {
  color: #d32f2f;
  text-decoration: none;
}

/* Input wrapper */
.woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

/* Input fields - pill style */
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row input.input-text,
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row select,
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row textarea {
  width: 100%;
  height: 56px !important;
  padding: 0 24px !important;
  border: 1px solid #d3d5de !important;
  border-radius: 50px !important;
  font-size: 16px;
  font-family: inherit;
  color: #2e3f3b;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  line-height: normal;
  margin: 0;
}

/* Select2 dropdown styling */
.woocommerce-billing-fields__field-wrapper .select2-container {
  width: 100% !important;
}

.woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single {
  height: 56px;
  border: 1px solid #d3d5de;
  border-radius: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}

.woocommerce-billing-fields__field-wrapper .select2-container .select2-selection__rendered {
  font-size: 16px;
  color: #2e3f3b;
  line-height: 56px;
  padding: 0;
}

.woocommerce-billing-fields__field-wrapper .select2-container .select2-selection__arrow {
  height: 56px;
  right: 20px;
  top: 0;
}

.woocommerce-billing-fields__field-wrapper .select2-container .select2-selection__arrow b {
  border-color: #2e3f3b transparent transparent transparent;
  border-width: 6px 5px 0 5px;
  margin-left: -5px;
  margin-top: -3px;
}

.woocommerce-billing-fields__field-wrapper .select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent #2e3f3b transparent;
  border-width: 0 5px 6px 5px;
  margin-top: -9px;
}

.woocommerce-billing-fields__field-wrapper .select2-container--focus .select2-selection--single,
.woocommerce-billing-fields__field-wrapper .select2-container--open .select2-selection--single {
  border-color: #69a3a8;
  outline: none;
}

.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row textarea {
  height: auto !important;
  min-height: 100px;
  padding: 16px 24px !important;
  border-radius: 20px !important;
  resize: vertical;
}

/* Input placeholder */
.woocommerce-billing-fields__field-wrapper input.input-text::placeholder,
.woocommerce-billing-fields__field-wrapper textarea::placeholder {
  color: #b0b0b0;
}

/* Input focus state */
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row input.input-text:focus,
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row select:focus,
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row textarea:focus {
  outline: none;
  border-color: #69a3a8 !important;
}

/* Native select dropdown styling (fallback) */
.woocommerce form .woocommerce-billing-fields__field-wrapper .form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232e3f3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px !important;
  cursor: pointer;
}

/* Hide native select when Select2 is active */
.woocommerce-billing-fields__field-wrapper .select2-hidden-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Validation states */
.woocommerce-billing-fields__field-wrapper .woocommerce-invalid input.input-text,
.woocommerce-billing-fields__field-wrapper .woocommerce-invalid select,
.woocommerce-billing-fields__field-wrapper .woocommerce-invalid textarea {
  border-color: #d32f2f;
}

.woocommerce-billing-fields__field-wrapper .woocommerce-validated input.input-text,
.woocommerce-billing-fields__field-wrapper .woocommerce-validated select,
.woocommerce-billing-fields__field-wrapper .woocommerce-validated textarea {
  border-color: #3f7756;
}

/* Save button area */
.billing-edit__actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  align-items: center;
}

.billing-edit__save {
  height: 56px;
  padding: 0 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.billing-edit__cancel {
  height: 56px;
  padding: 0 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Mobile: stack buttons */
@media (max-width: 768px) {
  .billing-edit__actions {
    flex-direction: column;
    width: 100%;
  }

  .billing-edit__save,
  .billing-edit__cancel {
    width: 100%;
  }
}

/* ========================================
   SHIPPING FORM STYLING
   ======================================== */

.woocommerce-shipping-fields {
  margin-top: 32px;
}

/* "Ship to a different address?" checkbox */
#ship-to-different-address {
  margin: 0;
}

#ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #2e3f3b;
}

#ship-to-different-address-checkbox {
  accent-color: #2e3f3b;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Shipping address fields container */
.woocommerce-shipping-fields .shipping_address {
  margin-top: 24px;
}

/* Shipping field wrapper - same layout as billing */
.woocommerce-shipping-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  width: 80%;
  max-width: 100%;
}

/* Half-width fields (2 columns) */
.woocommerce-shipping-fields__field-wrapper .form-row-first,
.woocommerce-shipping-fields__field-wrapper .form-row-last,
.woocommerce-shipping-fields__field-wrapper #shipping_first_name_field,
.woocommerce-shipping-fields__field-wrapper #shipping_last_name_field {
  flex: 1 1 calc(50% - 12px);
  min-width: 0;
}

/* Full-width fields */
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
  flex: 1 1 100%;
}

/* Individual form row */
.woocommerce-shipping-fields__field-wrapper .form-row {
  margin: 0;
  padding: 0;
}

/* Mobile: stack to single column */
@media (max-width: 768px) {
  .woocommerce-shipping-fields__field-wrapper {
    width: 100%;
  }

  .woocommerce-shipping-fields__field-wrapper .form-row-first,
  .woocommerce-shipping-fields__field-wrapper .form-row-last,
  .woocommerce-shipping-fields__field-wrapper #shipping_first_name_field,
  .woocommerce-shipping-fields__field-wrapper #shipping_last_name_field {
    flex: 1 1 100%;
  }
}

/* Labels */
.woocommerce-shipping-fields__field-wrapper label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #2e3f3b;
  margin-bottom: 8px;
}

.woocommerce-shipping-fields__field-wrapper label .required {
  color: #d32f2f;
  text-decoration: none;
}

/* Input wrapper */
.woocommerce-shipping-fields__field-wrapper .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

/* Input fields - pill style */
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row input.input-text,
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row select,
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row textarea {
  width: 100%;
  height: 56px !important;
  padding: 0 24px !important;
  border: 1px solid #d3d5de !important;
  border-radius: 50px !important;
  font-size: 16px;
  font-family: inherit;
  color: #2e3f3b;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  line-height: normal;
  margin: 0;
}

/* Select2 dropdown styling */
.woocommerce-shipping-fields__field-wrapper .select2-container {
  width: 100% !important;
}

.woocommerce-shipping-fields__field-wrapper .select2-container .select2-selection--single {
  height: 56px;
  border: 1px solid #d3d5de;
  border-radius: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}

.woocommerce-shipping-fields__field-wrapper .select2-container .select2-selection__rendered {
  font-size: 16px;
  color: #2e3f3b;
  line-height: 56px;
  padding: 0;
}

.woocommerce-shipping-fields__field-wrapper .select2-container .select2-selection__arrow {
  height: 56px;
  right: 20px;
  top: 0;
}

.woocommerce-shipping-fields__field-wrapper .select2-container .select2-selection__arrow b {
  border-color: #2e3f3b transparent transparent transparent;
  border-width: 6px 5px 0 5px;
  margin-left: -5px;
  margin-top: -3px;
}

.woocommerce-shipping-fields__field-wrapper .select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent #2e3f3b transparent;
  border-width: 0 5px 6px 5px;
  margin-top: -9px;
}

.woocommerce-shipping-fields__field-wrapper .select2-container--focus .select2-selection--single,
.woocommerce-shipping-fields__field-wrapper .select2-container--open .select2-selection--single {
  border-color: #69a3a8;
  outline: none;
}

.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row textarea {
  height: auto !important;
  min-height: 100px;
  padding: 16px 24px !important;
  border-radius: 20px !important;
  resize: vertical;
}

/* Input placeholder */
.woocommerce-shipping-fields__field-wrapper input.input-text::placeholder,
.woocommerce-shipping-fields__field-wrapper textarea::placeholder {
  color: #b0b0b0;
}

/* Input focus state */
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row input.input-text:focus,
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row select:focus,
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row textarea:focus {
  outline: none;
  border-color: #69a3a8 !important;
}

/* Native select dropdown styling */
.woocommerce form .woocommerce-shipping-fields__field-wrapper .form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232e3f3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px !important;
  cursor: pointer;
}

/* Hide native select when Select2 is active */
.woocommerce-shipping-fields__field-wrapper .select2-hidden-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Validation states */
.woocommerce-shipping-fields__field-wrapper .woocommerce-invalid input.input-text,
.woocommerce-shipping-fields__field-wrapper .woocommerce-invalid select,
.woocommerce-shipping-fields__field-wrapper .woocommerce-invalid textarea {
  border-color: #d32f2f;
}

.woocommerce-shipping-fields__field-wrapper .woocommerce-validated input.input-text,
.woocommerce-shipping-fields__field-wrapper .woocommerce-validated select,
.woocommerce-shipping-fields__field-wrapper .woocommerce-validated textarea {
  border-color: #3f7756;
}

/* ========================================
   ADDITIONAL INFORMATION (Order Notes)
   ======================================== */

.woocommerce-additional-fields {
  margin-top: 32px;
}

.woocommerce-additional-fields h3 {
  color: #2e3f3b;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.woocommerce-additional-fields__field-wrapper {
  width: 80%;
  max-width: 100%;
}

.woocommerce-additional-fields__field-wrapper .form-row {
  margin: 0;
  padding: 0;
}

.woocommerce-additional-fields__field-wrapper label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #2e3f3b;
  margin-bottom: 8px;
}

.woocommerce-additional-fields__field-wrapper .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.woocommerce form .woocommerce-additional-fields__field-wrapper .form-row textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px 24px !important;
  border: 1px solid #d3d5de !important;
  border-radius: 20px !important;
  font-size: 16px;
  font-family: inherit;
  color: #2e3f3b;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  resize: vertical;
}

.woocommerce form .woocommerce-additional-fields__field-wrapper .form-row textarea:focus {
  outline: none;
  border-color: #69a3a8 !important;
}

.woocommerce form .woocommerce-additional-fields__field-wrapper .form-row textarea::placeholder {
  color: #b0b0b0;
}

@media (max-width: 768px) {
  .woocommerce-additional-fields__field-wrapper {
    width: 100%;
  }
}

/* ============================================
   CHECKOUT ACCORDION - Form input base styles
   ============================================ */

.checkout-accordion .login-input {
  height: 69px;
  border-radius: 50px;
  padding: 16px;
  gap: 10px;
  border: 1px solid #d3d5de;
  font-weight: 400;
  font-size: 16px;
  background: #ffffff;
  color: #696969;
  box-sizing: border-box;
}

.checkout-accordion .login-input::placeholder {
  color: #696969;
  font-weight: 400;
  font-size: 16px;
}

.checkout-accordion .login-input:focus {
  outline: none;
  box-shadow: none;
  border-color: #2e3f3b;
}

.checkout-accordion .input-error {
  border: 1px solid #f55065 !important;
}

.checkout-accordion .register-textarea {
  border-radius: 25px;
  padding: 16px;
  gap: 10px;
  border: 1px solid #d3d5de;
  font-weight: 400;
  font-size: 16px;
  background: #ffffff;
  color: #696969;
  resize: none;
  box-sizing: border-box;
  width: 100%;
}

.checkout-accordion .register-textarea::placeholder {
  color: #696969;
  font-weight: 400;
  font-size: 16px;
}

.checkout-accordion .register-textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: #2e3f3b;
}

.checkout-accordion select.login-input {
  background-image: url("data:image/svg+xml,%3Csvg%20width='16px'%20height='16px'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%0A%3Cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.99935%204.6665L7.99935%208.6665L11.9993%204.6665L13.3327%205.99984L7.99935%2011.3332L2.66602%205.99984L3.99935%204.6665Z'%20fill='%23555555'/%3E%0A%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2rem;
}

/* ============================================
   CHECKOUT ACCORDION LAYOUT
   ============================================ */

.page-checkout--accordion {
  flex-direction: column;
  gap: 0;
  padding: 64px 100px;
}

.page-checkout--accordion>h2 {
  color: #2e3f3b;
  margin-bottom: 32px;
}

/* Accordion container */
.checkout-accordion {
  border: 1px solid #d3d5de;
  border-radius: 15px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #ffffff;
}

/* Accordion header */
.checkout-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 32px;
  background: #ebf8f2;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.checkout-accordion__header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-accordion__header__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2e3f3b;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.checkout-accordion__header__title {
  color: #2e3f3b;
}

.checkout-accordion__header__icon {
  display: none;
}

.checkout-accordion__header__icon svg {
  width: 24px;
  height: 24px;
  fill: #3f7756;
}

/* Active header */
.checkout-accordion__header.active {
  background-color: #2e3f3b;
}

.checkout-accordion__header.active .checkout-accordion__header__number {
  background-color: #ffffff;
  color: #2e3f3b;
}

.checkout-accordion__header.active .checkout-accordion__header__title {
  color: #ffffff;
}

/* Completed header */
.checkout-accordion__header.completed {
  background-color: #3f7756;
  cursor: pointer;
}

.checkout-accordion__header.completed .checkout-accordion__header__number {
  background-color: #ffffff;
  color: #3f7756;
}

.checkout-accordion__header.completed .checkout-accordion__header__title {
  color: #ffffff;
}

.checkout-accordion__header.completed .checkout-accordion__header__icon {
  display: flex;
}

.checkout-accordion__header.completed .checkout-accordion__header__icon svg {
  fill: #ffffff;
}

/* Disabled header */
.checkout-accordion__header.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.checkout-accordion__header.disabled .checkout-accordion__header__number {
  background-color: #d3d5de;
  color: #696969;
}

.checkout-accordion__header.disabled .checkout-accordion__header__title {
  color: #696969;
}

/* Accordion body */
.checkout-accordion__body {
  display: none;
  padding: 0;
}

.checkout-accordion__body.active {
  display: block;
}

.checkout-accordion__body__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-accordion__body__content--order {
  padding: 0;
}

.checkout-accordion__body__header span {
  color: #696969;
}

/* Accordion form fields */
.checkout-accordion__inputsRow {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.checkout-accordion__inputBox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.checkout-accordion__inputBox input,
.checkout-accordion__inputBox select,
.checkout-accordion__inputBox textarea {
  width: 100%;
}

.checkout-accordion__inputBox span {
  color: #2e3f3b;
}

/* Radio group */
.checkout-accordion__radioGroup {
  display: flex;
  gap: 16px;
  width: fit-content;
}

.checkout-accordion__radioGroup label {
  display: flex;
  gap: 12px;
  align-items: center;
}

.checkout-accordion__radioGroup input[type="radio"] {
  color: #345144;
  accent-color: #345144;
  height: 20px;
  width: 20px;
}

/* Action buttons */
.checkout-accordion__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.checkout-accordion__actions button {
  height: 60px;
  width: 200px;
}

/* Order details layout (accordion 3) */
.checkout-accordion__order-layout {
  display: flex;
  gap: 31px;
}

.checkout-accordion__order-layout .page-checkout__leftSide__prescriptionBox {
  margin-top: 0;
}

.checkout-accordion__body__content .page-checkout__leftSide__prescriptionBox {
  align-self: flex-start;
}

.checkout-accordion__order-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.checkout-accordion__order-right {
  width: 500px;
  padding: 32px 24px;
  background-color: #f7f7f7;
  border-left: 1px solid #d3d5de;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-accordion__order-right h4 {
  color: #2e3f3b;
}