/* Consolidated Checkout and Buy Now Styles Extracted from style.css */

/* root variables */
:root {
  --primary-color: #771D1D;
  --hover-color-primary: #400202;
  --outline-color: #D8C5A3;
}

/* from line 50 */
#loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 40%;
  right: 35%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* line 101 */
.delsuccess {
  background-image: radial-gradient(green, green);
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 25px;
}

/* cart page css - line 6263 onwards */
.cart_progress {
  margin: 3.2rem auto 3rem auto;
}

.opc-sidebar {
  margin-top: 0 !important;
}

.opc-estimated-wrapper {
  display: none;
}

.cart_progress ul {
  list-style: none;
  display: flex;
  gap: 6rem;
}

.cart_progress ul li {
  position: relative;
  margin-right: 1rem;
  color: #ACACAC;
}

.cart_progress ul li.active {
  color: var(--primary-color);
  position: relative;
}

.cart_progress ul li.active span {
  background-color: var(--primary-color);
  color: #fff;
  margin-right: 0.7rem;
}

.cart_progress ul li.active::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  height: 2px;
  width: 52%;
  top: 22px;
  margin-left: 7px;
}

.cart_progress ul li:last-child.active::after {
  content: unset;
}

.cart_progress ul li span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ACACAC;
  color: #fff;
}

.cart_review_block {
  display: flex;
  justify-content: space-between;
}

.cart_review_block .review_cart {
  width: 70%;
}

.cart_review_block .price_details {
  width: 28%;
}

.cart_item_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cart.table-wrapper {
  border-top: none;
}

.cart_item_card {
  margin: 0 0 1.6rem 0;
  border-radius: 0.7rem;
  border: 1px solid #d9d9d9;
}

.cart_item_card .product_info h3 {
  margin-top: 0;
}

#block-shipping {
  display: none;
}

ul>li button.action.primary.checkout {
  display: none;
}

button.action.primary.checkout {
  width: 220px;
  padding: 14px;
  font-size: 18px;
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.cart.table-wrapper .actions-toolbar>.action-edit {
  display: none !important;
}

.checkout-cart-index .message-error {
  display: none
}

.checkout-error {
  color: red;
  width: 100%;
}

#review_crtchkout:hover {
  text-decoration: underline;
  cursor: pointer;
}

.checkout-payment-method .payment-method+.payment-method .payment-method-title {
  border-top: none !important;
}

.item_details {
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.item_info {
  display: flex;
}

.product_info_info {
  display: flex;
  flex-direction: column;
}

.prodcut_img {
  margin-right: 1.6rem;
  overflow: hidden;
}

.cart.table-wrapper .product-item-photo {
  left: 0 !important;
  position: relative !important;
  top: 0 !important;
}

.cart.table-wrapper .actions-toolbar {
  right: 40px;
}

.prodcut_img a {
  max-width: none !important;
  padding-left: 0 !important;
}

.prodcut_img img.product-image-photo {
  object-fit: contain;
  border-radius: 7px;
  margin: 0 !important;
}

.item_variation select {
  border: 1px solid #ddd;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.product_info a {
  text-decoration: none;
}

.product_info a:hover {
  color: var(--primary-color);
}

.product_info p {
  margin-top: 10px;
}

.item_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #d9d9d9;
  padding: 1rem;
}

.item_footer p {
  margin-bottom: 0;
  font-weight: 600;
}

.item_footer p span {
  font-weight: normal;
}

.item_footer .del {
  color: red;
  cursor: pointer;
}

.product_info div.content {
  height: 25px;
  margin: 10px 0;
}

.item_details .price {
  background: #fcfcfc;
  color: #000;
  float: right;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.qt,
.qt-plus,
.qt-minus {
  display: block;
  float: left;
}

.qt {
  font-size: 16px;
  line-height: 25px;
  width: 50px;
  text-align: center;
}

.qt-plus,
.qt-minus {
  background: #ddd;
  border: none;
  border-radius: 5px;
  font-size: 1.6rem;
  font-weight: 300;
  height: 100%;
  padding: 0 10px;
  transition: background .2s linear;
}

.qt-plus:hover,
.qt-minus:hover {
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
}

.cart_review_block .price_details small {
  color: #757070;
  font-size: 14px;
  font-weight: 300;
}

.price_detail_card {
  display: flex;
  flex-direction: column;
  margin-top: 1.6rem;
  border-radius: 0.7rem;
  border: 1px solid #ddd;
  padding: 1.6rem;
  background: unset;
}

.summary_coupon {
  display: flex;
  border: 1px solid #ddd;
  padding: 1.6rem;
  border-radius: 0.5rem;
  flex-direction: row;
  margin-bottom: 1.6rem;
}

.coupon_icon {
  width: 45px;
  height: 45px;
  background-color: #E5E9FF;
  color: #153E7B;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  margin-right: 1.6rem;
}

.summary_total {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.grand_total {
  border-top: 1px solid #ddd;
  padding-top: 1.6rem;
}

.grand_total span {
  font-weight: bold;
}

.checkout_btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.6rem 5rem;
  cursor: pointer;
  border-radius: 0.7rem;
  font-size: 18px;
  line-height: normal;
}

.opc-wrapper .step-title {
  font-size: 1.6rem !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  font-weight: 600;
  margin-top: 0.7rem;
}

.opc-wrapper .shipping-address-item {
  display: flex !important;
  width: auto !important;
  justify-content: space-between;
  align-items: flex-start;
}

.checkout-index-index .modal-popup .modal-inner-wrap {
  border-radius: 1rem;
  overflow-y: scroll;
}

.shipping_add_card {
  border-radius: 0.7em;
  padding: 1.6rem !important;
  margin: 0.5rem 0 1.6rem !important;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 15px;
}

.shipping_add_card.active {
  background: #FFF6E3;
}

.shipping_add_card span a,
.shippingbtn {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.shipping_add_card span a:hover,
.shippingbtn:hover {
  background: var(--hover-color-primary);
  color: #fff;
}

.opc-block-summary {
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 0.7em;
  padding: 1.6rem !important;
  margin: 0.5rem 0 1.6rem !important;
}

button.action.primary.checkout[data-bind*="Pay with Razorpay"] {
  display: none !important;
}

.payment-method._active button[type="submit"] {
  display: none;
}

.customer_detail_form input,
.customer_detail_form select {
  padding: 1rem !important;
  border: 1px solid #ddd;
  border-radius: 0.40rem;
  margin: 1.2rem 0;
  font-size: 1.6rem;
  height: auto;
}

.box-tocart .actions button.tocart {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  margin: 0 !important;
  border-radius: 0;
  white-space: nowrap;
}

.box-tocart .action.tobuy {
  width: 49%;
  line-height: 2.2rem;
  padding: 14px 17px;
  font-size: 1.8rem;
  background-color: transparent;
  border-color: var(--primary-color);
  border-radius: 0;
  opacity: 1 !important;
  color: var(--primary-color);
  white-space: nowrap;
}

.box-tocart .action.tobuy:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff;
}

/* media queries */
@media (max-width: 576px) {
  .box-tocart .fieldset .actions {
    flex-direction: column;
  }

  .box-tocart .action.tobuy {
    width: 100%;
  }

  .cart_progress ul {
    gap: 1rem;
  }

  .cart_progress ul li.active::after {
    width: 59%;
  }
}

@media (max-width: 365px) {
  .box-tocart .action.tobuy {
    width: 100%;
  }

  .cart_progress ul li.active::after {
    content: unset !important;
  }
}

/* Pan/GST start */
.pan-div {
  border: 1px solid #C2C2C2;
  border-radius: 5px;
  position: relative;
  padding: 7px 17px 17px 17px;
  margin: 25px 0 20px 0;
}

/* Pan/GST end */