.single-product #content .ast-container {
  max-width: 1480px;
}
.single-product #content #primary .woocommerce-product-gallery {
  width: 44%;
}
.single-product #content #primary .summary {
  width: 56%;
  padding-left: 24px;
}
@media (max-width: 992px) {
  .single-product #content #primary .summary {
    width: 100%;
    padding-left: 0;
  }
  .single-product #content #primary .woocommerce-product-gallery {
    width: 100%;
  }
}
.single-product #primary {
  margin-top: 0;
}
.single-product #primary .entry-header {
  margin-bottom: 0;
}
.single-product #primary h1.product_title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -1.5%;
  color: #000000;
}
.single-product #primary .woocommerce-product-details__short-description {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -1.5%;
}
.single-product #primary p.price {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: -1.5%;
  color: #003c94;
  background: rgba(0, 0, 0, 0.0588235294);
  padding: 6px 16px;
  margin-bottom: 24px;
}
.single-product #primary .product_meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 0;
}
.single-product #primary .product_meta span {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -1.5%;
  color: rgba(0, 0, 0, 0.5019607843);
}
.single-product #primary .product_meta span span {
  font-weight: 400;
}
.single-product #primary ul.product_meta_list {
  margin-bottom: 0;
  margin-left: 0;
  list-style: none;
}
.single-product #primary ul.product_meta_list li + li {
  padding-top: 8px;
}
.single-product #primary .ast-stock-detail {
  margin-bottom: 24px;
}
.single-product #primary .woocommerce-product-details__short-description :last-child {
  margin-bottom: 24px;
}
.single-product #primary .product_meta {
  padding-top: 24px;
}
.single-product #primary form.cart {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.single-product #primary form.cart .quantity-wrapper {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  padding-bottom: 24px;
}
.single-product #primary form.cart .quantity-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--ast-global-color-2, #111827);
  white-space: nowrap;
  margin-right: 16px;
}
.single-product #primary form.cart .quantity-prefix {
  font-weight: 600;
  font-size: 14px;
  color: #000000;
}
.single-product #primary form.cart .quantity {
  width: 100%;
  margin-right: 0;
  margin-bottom: 0;
}
.single-product #primary form.cart .button {
  border-radius: 8px;
  font-weight: 600;
  height: 46px;
  text-transform: none;
  width: 100%;
  border: 1px solid var(--e-global-color-primary);
  font-size: 16px;
}
.single-product #primary form.cart .button.button-outline {
  background: transparent;
  border-color: var(--e-global-color-primary);
  color: var(--e-global-color-primary) !important;
}
.single-product #primary form.cart .button.moderncart-loading {
  background: var(--e-global-color-primary);
}
.single-product #primary form.cart .button-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 170px;
  gap: 12px;
  flex: 0 0 auto;
  width: 100%;
}
.single-product #primary form.cart .button-wrapper #ask_price_button svg {
  display: none;
}
@media (max-width: 1230px) {
  .single-product #primary form.cart .button-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
  }
  .single-product #primary form.cart .button-wrapper #ask_price_button {
    max-width: 5rem;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .single-product #primary form.cart .button-wrapper #ask_price_button svg {
    display: block;
    width: 24px;
    height: 24px;
  }
}
@media (max-width: 768px) {
  .single-product #primary form.cart .button-wrapper button {
    font-size: 13px;
    padding: 4px;
  }
}
.single-product #primary form.cart:before, .single-product #primary form.cart:after {
  display: none;
}
.single-product #primary .cfvsw-variation-disable-logic .cfvsw-swatches-option {
  font-weight: 700;
}
.single-product #primary .cfvsw-variation-disable-logic .cfvsw-selected-swatch {
  background: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary) !important;
  color: #fff;
}
.single-product #primary .cfvsw-variation-disable-logic .cfvsw-swatches-disabled {
  opacity: 0.5;
}
.single-product #primary .woocommerce-variation-price .price {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: -1.5%;
  color: #003c94;
  background: rgba(0, 0, 0, 0.0588235294);
  padding: 6px 16px;
  width: 100%;
  display: block;
}
.single-product #primary .woocommerce-product-gallery {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
}
.single-product #primary .woocommerce-product-gallery .flex-viewport {
  border: 1px solid #d9d9d9;
  margin-bottom: 0;
}
.single-product #primary .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 12px;
  flex-direction: column;
  width: 100%;
  max-width: 8rem;
  max-height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
}
.single-product #primary .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
  display: none;
}
.single-product #primary .woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0;
  width: 100%;
  flex-shrink: 0;
}
.single-product #primary .woocommerce-product-gallery .flex-control-thumbs li img {
  border: 1px solid #d9d9d9;
}
.single-product #primary .woocommerce-tabs {
  padding-top: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #d9d9d9;
  border-top: 1px solid #d9d9d9;
  position: relative;
  padding-bottom: 6rem;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs:before, .single-product #primary .woocommerce-tabs ul.wc-tabs:after {
  display: none !important;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs a {
  background: #f2f2f2;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 16px;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs .active::before {
  display: none;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs .active a {
  background: var(--e-global-color-primary);
  color: #fff;
}
.single-product #primary .woocommerce-tabs .woocommerce-Tabs-panel * {
  font-size: 16px;
}
.single-product #primary .woocommerce-tabs table.shop_attributes th {
  width: 20rem;
}
.single-product #primary .woocommerce-tabs .woocommerce-Tabs-panel--description {
  position: relative;
}
.single-product #primary .woocommerce-tabs .woocommerce-Tabs-panel--description.desc-collapsed {
  max-height: 300px;
  overflow: hidden;
}
.single-product #primary .woocommerce-tabs .woocommerce-Tabs-panel--description.desc-collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}
.single-product #primary .woocommerce-tabs .woocommerce-Tabs-panel--description.desc-expanded {
  max-height: none;
  overflow: visible;
}
.single-product #primary .woocommerce-tabs .woocommerce-Tabs-panel--description.desc-expanded ~ .desc-toggle-wrapper {
  background: transparent;
}
.single-product #primary .woocommerce-tabs .desc-toggle-wrapper {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 10.4%, #fff 72.01%);
  position: absolute;
  height: 8rem;
  display: flex;
  align-items: flex-end;
  z-index: 1;
  justify-content: center;
  bottom: 3rem;
}
.single-product #primary .woocommerce-tabs .desc-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid var(--e-global-color-primary, #003c94);
  border-radius: 6px;
  color: var(--e-global-color-primary, #003c94);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.single-product #primary .woocommerce-tabs .desc-toggle-btn:hover {
  background: var(--e-global-color-primary, #003c94);
  color: #fff;
}
.single-product #primary .related > h2,
.single-product #primary .upsells > h2 {
  font-size: 26px;
  font-weight: 600;
}
.single-product #primary .upsells {
  padding-bottom: 32px;
}
.single-product #primary .upsells .products {
  border-bottom: 1px solid #d9d9d9;
}
@media (max-width: 992px) {
  .single-product #primary h1.product_title {
    font-size: 20px;
  }
  .single-product #primary p.price {
    font-size: 24px;
  }
  .single-product #primary .woocommerce-product-gallery {
    flex-direction: column;
  }
  .single-product #primary .woocommerce-product-gallery .flex-control-thumbs {
    flex-direction: row;
  }
  .single-product #primary form.cart .button-wrapper {
    padding: 8px;
  }
  .single-product #primary .product_meta {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }
}
.single-product #primary .woocommerce-variation-price .price {
  font-size: 24px;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs {
  flex-wrap: nowrap;
  display: flex;
  gap: 16px;
  overflow-x: auto;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs::-webkit-scrollbar {
  display: none;
}
.single-product #primary .woocommerce-tabs ul.wc-tabs li {
  flex: 0 0 auto;
}
.single-product #primary .relate > h2,
.single-product #primary .upsells > h2 {
  font-size: 22px;
}

#moderncart-floating-cart {
  padding-bottom: 3rem;
}

.white-popup {
  position: relative;
  background: #fff;
  padding: 20px;
  width: auto;
  max-width: 700px;
  margin: 20px auto;
  border-radius: 8px;
}

.woocommerce-page ul.products li.product .price {
  font-size: 16px;
}

#cf7-modal-content .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
#cf7-modal-content .cf7-group-span-2 {
  grid-column: span 2;
}
#cf7-modal-content textarea {
  resize: none;
  height: 120px;
}
#cf7-modal-content p {
  margin-bottom: 0;
}
#cf7-modal-content .cf7-group {
  margin-bottom: 0;
}
#cf7-modal-content .wpcf7-form-control {
  border-radius: 8px;
  border-color: #d9d9d9;
  font-size: 16px;
  color: #000;
  font-weight: 500;
}
#cf7-modal-content .customer-submit {
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
#cf7-modal-content .required {
  margin-left: 4px;
  color: red;
}
#cf7-modal-content .wpcf7-response-output {
  grid-column: span 2;
  margin: 0;
  background: #ffb900;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}
#cf7-modal-content .wpcf7-not-valid-tip {
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
}
#cf7-modal-content .cf7-submit-group {
  margin-bottom: 0;
}
#cf7-modal-content .wpcf7-spinner {
  transform: translateY(6px);
}

#cf7-modal-content .modern-order-form {
  grid-column: span 2;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#cf7-modal-content .modern-order-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
#cf7-modal-content .modern-order-form .product-top {
  padding-bottom: 12px;
}
#cf7-modal-content .modern-order-form .product-top h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
#cf7-modal-content .modern-order-form .product-table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
#cf7-modal-content .modern-order-form .product-head,
#cf7-modal-content .modern-order-form .product-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
}
#cf7-modal-content .modern-order-form .product-head {
  background: #f8fafc;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}
#cf7-modal-content .modern-order-form .product-head div {
  padding: 10px;
}
#cf7-modal-content .modern-order-form .product-row {
  border-bottom: 1px solid #f1f5f9;
}
#cf7-modal-content .modern-order-form .product-row:last-child {
  border-bottom: none;
}
#cf7-modal-content .modern-order-form .summary-box {
  background: var(--e-global-color-primary);
  border-radius: 8px;
  padding: 20px;
}
#cf7-modal-content .modern-order-form .summary-box .wpcf7-form-control {
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  height: auto;
  font-weight: 700;
  font-size: 20px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#cf7-modal-content .modern-order-form .summary-box .summary-item.total p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#cf7-modal-content .modern-order-form .summary-box .summary-item.total .wpcf7-form-control-wrap {
  width: -moz-max-content;
  width: max-content;
}
#cf7-modal-content .modern-order-form .product-row .wpcf7-form-control {
  padding: 8px;
  font-size: 14px;
  border: 0;
  height: auto;
}
@media (max-width: 768px) {
  #cf7-modal-content .modern-order-form .modern-order-form {
    padding: 20px;
  }
  #cf7-modal-content .modern-order-form .form-grid {
    grid-template-columns: 1fr;
  }
  #cf7-modal-content .modern-order-form .product-table {
    overflow-x: auto;
  }
  #cf7-modal-content .modern-order-form .product-head,
  #cf7-modal-content .modern-order-form .product-row {
    min-width: 720px;
  }
}

#cart_buy_now_modal #order-total {
  display: none;
}
#cart_buy_now_modal .summary-item.total p {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#cart_buy_now_modal .summary-item.total label {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
@media (max-width: 549px) {
  #cart_buy_now_modal .summary-item.total label {
    font-size: 16px;
  }
}
#cart_buy_now_modal .summary-item.total .order-total-preview {
  border: 0;
  height: auto;
  padding: 0;
  background-color: transparent;
  font-weight: 700;
  font-size: 20px;
  text-align: right;
  color: #fff;
  width: -moz-max-content;
  width: max-content;
}
@media (max-width: 768px) {
  #cart_buy_now_modal .cf7-modal-content .wpcf7 {
    max-width: 85h;
    overflow-x: auto;
  }
}

.woocommerce-cart #primary .cart-collaterals {
  display: none;
}
.woocommerce-cart #primary .shop_table.cart .coupon {
  display: none !important;
}
.woocommerce-cart #primary .shop_table.cart .quantity-label {
  display: none;
}
.woocommerce-cart #primary .shop_table.cart .product-price .woocommerce-Price-amount,
.woocommerce-cart #primary .shop_table.cart .product-subtotal .woocommerce-Price-amount {
  font-size: 16px;
  font-weight: 600;
}
.woocommerce-cart #primary .action-buy-cart {
  display: flex;
  justify-content: flex-end;
}
.woocommerce-cart #primary .action-buy-cart #cart_buy_now_button {
  border-radius: 8px;
  font-weight: 600;
  height: 46px;
  text-transform: none;
  border: 1px solid var(--e-global-color-primary);
  font-size: 16px;
}

.woocommerce-cart .ast-container {
  padding-left: 16px !important;
  padding-right: 16px !important;
}
.woocommerce-cart #primary {
  margin: 0;
}
.woocommerce-cart #primary .ast-article-single {
  padding: 0 0 3rem 0;
}
@media (max-width: 992px) {
  .woocommerce-cart #primary .woocommerce-cart-form table {
    border: 0;
  }
  .woocommerce-cart #primary .woocommerce-cart-form table tr {
    margin-bottom: 20px;
    border-bottom: 1px dashed;
  }
  .woocommerce-cart #primary .woocommerce-cart-form table td {
    min-height: 0;
    padding: 8px 0;
    border: 0;
  }
  .woocommerce-cart #primary .woocommerce-cart-form table td.product-remove {
    padding: 0;
  }
  .woocommerce-cart #primary .woocommerce-cart-form table td.product-thumbnail {
    padding: 0;
  }
}

div#moderncart-slide-out-modal .wc-proceed-to-checkout {
  display: none;
}