:root{
    --quicker-primary-bg-color: #046bd2;
    --quicker-cart-icon-color: #046bd2;
    --swiper-navigation-color: #046bd2;
    --swiper-navigation-size: 20px;
    --swiper-pagination-bottom: 0;
    --quicker-border-color: #eaeaec;
    --quicker-qv-icon-size: 18px;
}
/* public css */
.ml-2{
    margin-left: 2%;
}
.p-5{
    padding: 5%;
}
.p-2{
    padding: 2%;
}
.p-7{
    padding: 7%;
}
.pt-5{
    padding-top: 5%;
}
.pb-2{
    padding-bottom: 2%;
}
.mt-5{
    margin-top: 5%;
}
.mb-1{
    margin-bottom: 1%;
}
.mb-5{
    margin-bottom: 5%;
}
.mb-2{
    margin-bottom: 2%;
}
.mb-3{
    margin-bottom: 3%;
}
.d-none{
    display: none !important;
}
a.buy-now{
    padding: 10px 20px !important;
    margin-left: 5px !important;
}
a.shop-buy-now{
    margin-left: 5px !important;
}
.quicker-loading{
    position: relative;
}
a.quicker_q_view:focus{
    outline: none;
}       
/* Modal css start */

/* The Modal (background) */
.quicker-popup-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 99990;
    background-color: rgba(0, 0, 0, 0.75);
}

/* Modal Content */
.modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2%;
}
.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    min-height: 500px;
    overflow-x: auto;
    position: relative; /* ensure close button & internal stacking */
    z-index: 99991;
}

/* The Close Button */
.modal-close {
    font-size: 20px;
    color: #121212;
}
.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
/* Modal css end */

html {
    scroll-behavior: smooth;
}
/* Mini cart css start */
.side-cart-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  padding: 15px;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  visibility: hidden;
  opacity: 0;
}
.side-cart-wrapper.active {
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
    z-index: 99999;
}
.side-cart-content {
  height: 100%;
  overflow-y: auto;
  padding: 0 20px 0 0;
}
dl{
    margin-bottom: 0;
}
.empty-cart button{
    color: #ffffff !important;
    border-color: var(--quicker-global-color-0,#046bd2)  !important;
    background-color: var(--quicker-global-color-0,#046bd2)  !important;
    padding: 15px 30px  !important;
    font-weight: 500  !important;
}
.cupon-btn{
    background-color: var(--quicker-global-color-0,#046bd2)  !important; 
    color: #ffffff !important;
    padding: 12px !important;
    font-size: 14px !important;
}
.quicker-modal{
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.woocommerce-js a.remove:before{
    border: none !important;
}
.woocommerce-js input[type=text]{
    border-color: #eeee;
}
/* Empty Cart */
.empty-cart p{
    font-size: 18px;
    line-height: 1.3;
    color: var(--quicker-primary-text-color,#000);
    font-weight: 500;
    margin-bottom: 8px !important;
}

.side-cart-content.bump-template-single-1,
.side-cart-wrapper.bump-template-single-1{
    width: auto;
    display: flex;
    gap: 18px;
    padding: 0 15px 0 0;
}
.side-cart-icon{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    background: #fff;
    color: #ff5e5e;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding-top: 7px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}
.side-cart-icon svg{
    width: 28px;
    height: 28px;
    margin: 7px auto;
    display: block;
}

.cart-details{
    scrollbar-width: none;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cart-details::-webkit-scrollbar{
    display: none;
}
.quicker-cart-count{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    position: absolute;
    right: -10px;
    top: -10px;
    background: #ff0000;
    color: #fff;
    border-radius: 16px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.cart-row .product-name{
    font-size: 14px;
    font-weight: bold;
    color: #24272d;
}
.cart-row .product-price span{
    font-weight: 400;
    color: #24272d;
    font-size: 14px;
}
.minicart-coupon-field{
    width: 160px
}
.side-cart-extra .side-cart-extra-total .extra-text{
    padding:3px 0 0 4px;
}
#widget-shopping-cart-remove-coupon{
    font-size: 14px;
    column-gap: 8px;
}
.subtotal-content{
    margin-top: 30px;
    font-size: 15px;
}
.coupon_from{
    width: 100%;
    display: inline-flex;
    height: 40px;
    margin-bottom: 12px;
}
.coupon_from .minicart-coupon-field{
    width: 78%;
    border-radius: 0;
}
.extra-text{
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
}
.empty-cart{
    display: flex;
    align-items: center;
    text-align: center;
    height: 100vh;
    justify-content: center;
    flex-direction: column;
}
.cart-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding-top: 12px;
    padding-bottom: 12px;
}
.quicker-shipping,.quicker-mini-cart-fee{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}
.coupon-wrapper{
    border-top: 1px solid var(--quicker-border-color);
    border-bottom: 1px solid var(--quicker-border-color);
    margin-bottom: 5%;
}
.quicker-items{
    flex: 1;
    height: auto;
    overflow: auto;
    scrollbar-width: none;
    overflow-x: hidden;
}
.quicker-items.quicker-up-sells{
    min-height: 200px !important;
}

/* Track */
.bump-template-single-1 .bump-content{
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    background: #edf8ff;
    padding: 12px 10px;
    scrollbar-width: thin;
    scrollbar-color: #c5d8ee transparent;
}
.bump-template-single-1 .bump-content::-webkit-scrollbar {
    width: 4px;
}
.bump-template-single-1 .bump-content::-webkit-scrollbar-track {
    background: transparent;
}
.bump-template-single-1 .bump-content::-webkit-scrollbar-thumb {
    background: #c5d8ee;
    border-radius: 10px;
}
.bump-template-single-1 .bump-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    margin-bottom: 16px;
    text-align: center;
}
.side-cart-extra-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.side-cart-extra-total > div {
    text-align: left;
}
.cart-total {
    text-align: right;
    white-space: nowrap;
}
.cart-block .sub-total,.quicker-coupon{
    display: flex;
    justify-content: space-between;
}
.minicart-coupon-field{
    padding: 0.64em !important;
}
.continue-shopping,
.quicker-checkout{
    width: 100%;
    padding: 15px 30px;
}
.quicker-checkout{
    cursor: pointer;
    background: var(--quicker-primary-text-color,#0170b9) ;
    color: #fff;
    width: 100%;
    border: 1px solid var(--quicker-primary-text-color,#0170b9);
}
.continue-shopping,.continue-shopping:hover{
    background: #fff !important;
    margin-bottom: 3%;
    color: var(--quicker-primary-text-color,#0170b9) !important;
    border: 1px solid var(--quicker-primary-text-color,#0170b9) !important;
}
.quicker-checkout:hover{
    background: var(--quicker-primary-text-color,#0170b9);
    opacity: .9;
}
.quicker-message{
    position: fixed;
    bottom: 20px;
    right: 80px;
    color: #0170b9;
    display: grid;
    justify-content: center;
    padding: 5px 0;
    background: #e0eef7;
    border-radius: 15px;
    width: 200px;
    font-size: 14px;
}
.side-cart-title{
    font-size: 18px;
    margin: 15px 0 5px;
    font-weight: bold;
    text-align: left;
}
.quicker-qty-warning{
    margin: 6px 0 10px;
}
.quicker-qty-warning .wc-block-components-notice-banner__dismiss{
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: inherit;
    opacity: 0.6;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.quicker-qty-warning .wc-block-components-notice-banner__dismiss:hover{
    opacity: 1;
}
.quicker-save-label{
    display: block;
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}
.order-bump-title{
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 5px 0 10px 0;
    color: #24272d;
    font-weight: bold;
}
.subtotal-block a{
    margin: 7px auto;
}
.cart-remove{
    border-radius: 50%;
    width: 22px;
    height: 22px;
    padding: 2px;
}
.woocommerce a.remove:hover,
.cart-remove:hover
{
    background: var(--secondary-color,#0170b9) !important;
    fill: var(--secondary-color,#fff) !important;
}
.subtotal-block{
    justify-content: flex-end;
    display: flex;
    margin-right: 5px;
}
.quicker-sidecart-quantity{
    display: flex;
    flex-direction: column;
}
.quicker-sidecart-quantity dl dt
{
    clear: both;
    float: left;
}
.quicker-sidecart-quantity dl dd
{
    float: left;
    margin: 0 5px;
}
.quicker-sidecart-quantity p{
    margin-bottom: 2px;
}
.mini-qty{
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #eaeaec;
    border-radius: 6px;
    overflow: hidden;
}
.qty-handle{
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #24272d;
    cursor: pointer;
    height: 26px;
    margin: 0;
    outline: 0;
    padding: 0;
    text-align: center;
    width: 26px;
    min-width: 26px;
    font-size: 14px;
    background: #f9f9f9;
    border: none;
    border-radius: 0;
}
.mini-qty .qty{
    background-color: transparent;
    border: 0;
    outline: 0;
    min-height: 26px;
    height: 26px;
    max-height: 26px;
    min-width: 30px;
    width: 30px;
    padding: 0 4px;
    box-sizing: border-box;
    text-align: center;
    font-size: 13px;
    line-height: 26px;
    font-weight: 400;
    color: #24272d;
    border-left: 1px solid #eaeaec;
    border-right: 1px solid #eaeaec;
    border-radius: 0;
    margin-bottom: 0;
}
.cart-row .quicker-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
}
.quicker-loading::after {
    content: "";
    position: absolute;
    top: 38%;
    left: 38%;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid var(--quicker-primary-bg-color, #0170b9);
    border-left: 2px solid var(--quicker-primary-bg-color, #0170b9);
    border-right: 2px solid transparent;
    border-top: 2px solid transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: spin 1s linear infinite;
    pointer-events: none;
}
/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.bump-item-3 {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    min-height: 80px;
}
.bump-item-3 .image {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bump-item-3 img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}
.bump-item-3 .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.bump-item{
    position: relative;
    font-size: 13px;
    line-height: 1.4;
}
.bump-item .title{
    margin-top: 6px;
    font-weight: 600;
    font-size: 12px;
    color: #24272d;
}
.bump-item .price{
    margin-bottom: 4px;
    font-size: 12px;
    color: #555;
}
.bump-item .price del {
    color: #999;
}
.bump-item-1 img{
    width: 65px;
    height: auto;
    border-radius: 6px;
}
.bump-item a svg{
    margin: 0 auto;
}
.bump-item .cart-icon,
.bump-item .quicker-cart-icon {
    fill: var(--quicker-primary-bg-color, #046bd2) !important;
}
.bump-item a.add_to_cart_button svg {
    fill: var(--quicker-primary-bg-color, #046bd2);
}
.bump-item .add_to_cart_button.loading{
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}
.bump-item .add_to_cart_button.loading::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-bottom: 2px solid var(--quicker-primary-bg-color, #0170b9);
    border-left: 2px solid var(--quicker-primary-bg-color, #0170b9);
    border-right: 2px solid transparent;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.bump-item-3 a svg,.bump-item-3 .price,
.bump-item-3 .title
{
    margin: 2px !important;
}
.bump-template{
    text-align: center;
    min-height: 90%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c5d8ee transparent;
}
.bump-template::-webkit-scrollbar {
    width: 4px;
}
.bump-template::-webkit-scrollbar-track {
    background: transparent;
}
.bump-template::-webkit-scrollbar-thumb {
    background: #c5d8ee;
    border-radius: 10px;
}
.quicker-coupon span{
    font-size: 14px;
}
/* Mini cart css end */

/* Mini cart Style Pro */
div.bump-template:empty{
    display: none;
}
.side-cart-wrapper.active .side-cart-icon svg,
.side-cart-wrapper.active .quicker-cart-count {
    display: none;
}
.side-cart-wrapper.active .side-cart-icon {
    top: 5px;
    right: 5px;
    z-index: 999999;
    width: 45px;
    height: 45px;
}
.side-cart-wrapper.active span.side-cart-icon:after {
    position: absolute;
    content: 'X';
    font-size: 18px;
    left: 15px;
    top: 10px;
}
.up-sell .bump-items {
    padding: 14px 0;
}
.up-sell .bump-item .price {
    font-weight: 500;
}
.up-sell .bump-item .price span{
    color: var(--quicker-primary-bg-color, #046bd2);
}
.cart-icon {
    width: 18px;
    height: 18px;
}
.cart-icon,
.quicker-cart-icon {
    fill: var(--quicker-primary-bg-color, #046bd2) !important;
}
.coupon-wrapper .cupon-btn{
    border-radius: 0 !important;
}
.side-cart-content a.remove:hover,
.side-cart-content .cart-remove:hover{
    background: transparent !important;
    fill: transparent !important;
}
.cart-item{
    position: relative;
}
.side-cart-content .cart-row a.quicker_remove_item{
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
}
.cart-block{
    margin-top: 40px;
}
.cart-block strong,.minicart-copoun-label{
    font-size: 15px;
}
.bump-item-1 .title{
    margin: 6px 0 3px 0;
}
.bump-item-1 .cart-icon {
    width: 18px;
    height: 18px;
}
/* Bump style 2 */
.quicker-bump{
    padding: 0 15px 15px !important;
    background: #f4fbff;
    border-radius: 10px;
    margin-top: 16px;
    text-align: center;
}
.up-sells-template-2 .swiper-wrapper,
.up-sells-template-4 .swiper-wrapper
{
    display: flex;
    margin-top: 15px;
}
.quicker-bump-2 .order-bump-title,
.quicker-bump-4 .order-bump-title
{
    padding-top: 15px !important;
}
/* Section title */
.up-sells-template-2 h2,
.up-sells-template-4 h2
{
    font-size: 18px;
    margin-bottom: 15px;
}
/* Each product box */
.quicker-bump .swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px !important;
}
.swiper-slide{
    position: relative;
}
.up-sells-template-2 .swiper-slide,
.up-sells-template-4 .swiper-slide
{
    padding: 12px 10px !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    box-sizing: border-box;
    width: auto;
}
.up-sells-template-2 .swiper-slide:hover,
.up-sells-template-4 .swiper-slide:hover
{
    transform: scale(1.03);
}
/* Product image */
.up-sells-template-2 .swiper-slide img,
.up-sells-template-4 .swiper-slide img
{
    width: 80px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
}
/* Product title */
.up-sells-template-2.up-sells-template-2 .product-title,
.up-sells-template-2.up-sells-template-4 .product-title
 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

/* Product price */
.up-sells-template-2 .price,
.up-sells-template-4 .price
{
    font-size: 13px;
    color: #666;
}

/* Old price strikethrough */
.up-sells-template-2 .price del,
.up-sells-template-4 .price del
{
    color: #999;
    margin-right: 4px;
}

/* Cart icon */
.up-sells-template-2 .add-to-cart-icon,
.up-sells-template-4 .add-to-cart-icon
{
    margin-top: 8px;
    font-size: 16px;
    color: #0170b9;
    cursor: pointer;
}

/* Mini cart new css start */
.cart-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px 16px;
  border-bottom: 1px solid #e6e6e6;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 10px;
}

.cart-item img {
  border-radius: 6px;
  width: 65px;
  height: 65px;
  object-fit: cover;
}

.remove.quicker_remove_item {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.cart-remove {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cart-remove:hover {
  transform: scale(1.1);
}

.quicker-sidecart-quantity {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.mini-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #eaeaec;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mini-qty .qty-handle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  color: #24272d;
  background: #f9f9f9;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  user-select: none;
  padding: 0;
  line-height: 26px;
  text-align: center;
  min-width: 26px;
}
.mini-qty input.qty {
  width: 30px;
  height: 26px;
  text-align: center;
  font-size: 13px;
  border: none;
  border-left: 1px solid #eaeaec;
  border-right: 1px solid #eaeaec;
  border-radius: 0;
  padding: 0 4px;
  background: transparent;
  color: #24272d;
  outline: 0;
  margin-bottom: 0;
  min-height: 26px;
  max-height: 26px;
  box-sizing: border-box;
}

.subtotal-block {
  text-align: right;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 480px) {
  .quicker-coupon span{
    font-size: 13px;
  }
  .cart-item {
    width: 100%;
  }
  .cart-row {
    gap: 8px;
    padding: 12px 0px 15px 15px;
  }
}

/* Minicart new css end */

/* Quick view loading effect */

/* Generic loading state (non-thumbnail placements) */
.quicker_q_view.loading:not(.quicker-in-thumb) {
    position: relative !important;
    pointer-events: none;
    padding-right: 38px !important; /* extra space for spinner */
    min-width: 120px; /* prevent squeeze for short labels */
}

/* Spinner (generic) */
.quicker_q_view.loading:not(.quicker-in-thumb):after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 32%;
    margin-top: -8px;
    border: 2px solid var(--quicker-primary-bg-color, #046bd2);
    border-right-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    animation: quicker-spin 0.6s linear infinite;
    z-index: 10;
}
.quicker_q_view.quicker-in-thumb.loading:after {
    content: '';
    position: absolute;
    top: 30%;
    right: 5px;
    transform:translateY(-50%);
    width:16px; height:16px;
    border: 2px solid var(--quicker-primary-bg-color, #046bd2);
    border-right-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    animation: quicker-spin 0.6s linear infinite;
}
/* Thumbnail loading: add extra padding so spinner doesn't overlap label/icon */
.quicker_q_view.quicker-in-thumb.loading {
    padding-right: 25px !important; /* space for 16px spinner + gap */
    min-width: 140px; /* stabilize width during loading */
}

@keyframes quicker-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/* Quick view loading effect end */

/* Hide quick view button on mobile start*/
.quicker-hide-mobile {
    display: inline-block;
}
@media (max-width: 767px) {
    .quicker-hide-mobile {
        display: none !important;
    }
}
/* Quick View button icon (optimized) */
.quicker_q_view .quicker-qv-icon,
.quicker_q_view .quicker-icon { display:inline-flex; align-items:center; justify-content:center; line-height:1; flex-shrink:0; }
/* Base SVG sizing via variable; no hard margin-right (use gap or label margin) */
.quicker_q_view .quicker-qv-icon svg,
.quicker_q_view .quicker-icon svg { width:var(--quicker-qv-icon-size); height:var(--quicker-qv-icon-size); overflow:visible; stroke:currentColor; fill:none; }
/* Fallback: stripped width/height */
.quicker_q_view .quicker-icon.is-svg svg:not([width]):not([height]) { width:var(--quicker-qv-icon-size); height:var(--quicker-qv-icon-size); }
/* Raster image icon wrapper sizing */
.quicker_q_view .quicker-icon.is-img { width:var(--quicker-qv-icon-size); height:var(--quicker-qv-icon-size); }
.quicker_q_view .quicker-icon.is-img img { width:100%; height:100%; object-fit:contain; display:block; }
/* Hide quick view button on mobile end*/

/* Quick View close button (retained after unifying modal styles) */
.modal-content > .quicker-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    z-index: 99992; /* above modal-content */
}
.modal-content > .quicker-popup-close:hover svg circle { opacity: 0.8; }
@media (max-width: 600px) {
    .modal-content > .quicker-popup-close { top:4px; right:4px; }
}
.ast-separate-container .ast-article-single:not(.ast-related-post){
    background-color: transparent !important;
}

/* --- Quick View button alignment (icon + label centered) --- */
a.quicker_q_view,
.quicker_q_view { /* include div variant */
    width: max-content;
    display: inline-flex;
    align-items:center;
    gap:6px;
    line-height:1.2;
    vertical-align:middle;
}
a.quicker_q_view .quicker-qv-icon,
.quicker_q_view .quicker-qv-icon,
a.quicker_q_view .quicker-icon,
.quicker_q_view .quicker-icon { display:inline-flex; align-items:center; justify-content:center; }
/* After-cart placement: icon always visible */
.quicker-qv-after-cart .quicker-qv-icon { margin-bottom: 0 !important; opacity:1 !important; transform:none !important; transition:none; }
.quicker_q_view .quicker-icon.is-svg svg:not([width]):not([height]) { width:var(--quicker-qv-icon-size); height:var(--quicker-qv-icon-size); }
.quicker_q_view .quicker-icon.is-img { display:inline-flex; align-items:center; justify-content:center; width:var(--quicker-qv-icon-size); height:var(--quicker-qv-icon-size); flex-shrink:0; }
.quicker_q_view .quicker-icon.is-img img { max-width:100%; max-height:100%; width:100%; height:100%; display:block; object-fit:contain; }
a.quicker_q_view .quicker-qv-icon { margin:0; }
.quicker_q_view .quicker-qv-label { font-size:13px; display:inline-flex; align-items:center; margin-left: 5px; }
/* In-image: hide label until we confirm parent has a post thumbnail */
.quicker-thumb-wrapper .quicker_q_view.quicker-in-thumb .quicker-qv-label,

/* Show label when product has thumbnail class */
.has-post-thumbnail .quicker-thumb-wrapper .quicker_q_view.quicker-in-thumb .quicker-qv-label,
.has-post-thumbnail.woocommerce-loop-product__link.quicker-has-quickview .quicker_q_view.quicker-in-thumb .quicker-qv-label { display:inline-flex; }
a.quicker_q_view.loading:not(.quicker-in-thumb),
.quicker_q_view.loading:not(.quicker-in-thumb) { justify-content:flex-start !important; }

/* Keep thumbnail-positioned QuickView button centered while loading */
/* Ensure centered layout + keep label/icon alignment while loading in thumbnail */
.quicker-thumb-wrapper .quicker_q_view.quicker-in-thumb.loading,
.woocommerce-loop-product__link.quicker-has-quickview .quicker_q_view.quicker-in-thumb.loading {
    justify-content:center !important;
    width:auto;
}

/* Quick View after cart placement adjustments */
.quicker-qv-after-cart {
    margin-top: 8px;
    display: inline-flex !important;
}
/* If theme displays buttons in a flex row, ensure wrapping to new line if needed */
.products .product .button + .quicker-qv-after-cart { margin-left: 6px; }

/* Thumbnail overlay placement */
.quicker-thumb-wrapper { position: relative; }
.quicker-thumb-wrapper .quicker-qv-overlay { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    transition: opacity .25s ease; 
    pointer-events: none;
}
/* New inline button variant (no overlay wrapper) */
.quicker-thumb-wrapper { display:inline-block; position:relative; }
.quicker-thumb-wrapper .quicker_q_view.quicker-in-thumb { 
    position:absolute; top:50%; left:50%; transform:translate(-50%, -50%) scale(.9);
    background:rgba(0,0,0,.65); color:#fff; border-color:rgba(0,0,0,.65);
    padding:8px 14px; border-radius:4px; opacity:0; pointer-events:none;
    transition:opacity .25s ease, transform .25s ease, background .25s ease, border-color .25s ease; 
}
.quicker-thumb-wrapper:hover .quicker_q_view.quicker-in-thumb,
.quicker-thumb-wrapper .quicker_q_view.quicker-in-thumb:focus,
.quicker-thumb-wrapper .quicker_q_view.quicker-in-thumb:focus-visible { 
    opacity:1; pointer-events:auto; transform:translate(-50%, -50%) scale(1); 
}
.quicker-thumb-wrapper:hover .quicker_q_view.quicker-in-thumb:hover { background:rgba(0,0,0,.8); border-color:rgba(0,0,0,.8); }

/* Fallback / direct link wrapper styling for within-image quick view */
.woocommerce-loop-product__link.quicker-has-quickview { position: relative; }
.woocommerce-loop-product__link.quicker-has-quickview .quicker_q_view.quicker-in-thumb { 
    font-size: 14px;
    position:absolute; top:50%; left:50%; transform:translate(-50%, -50%) scale(.9);
    background:rgba(0,0,0,.65); color:#fff; border-color:rgba(0,0,0,.65);
    padding:8px 14px; border-radius:4px; opacity:0; z-index:2; pointer-events:none; 
    transition:opacity .25s ease, transform .25s ease, background .25s ease, border-color .25s ease; 
}
.woocommerce-loop-product__link.quicker-has-quickview:hover .quicker_q_view.quicker-in-thumb,
.woocommerce-loop-product__link.quicker-has-quickview .quicker_q_view.quicker-in-thumb:focus,
.woocommerce-loop-product__link.quicker-has-quickview .quicker_q_view.quicker-in-thumb:focus-visible { 
    opacity:1; pointer-events:auto; transform:translate(-50%, -50%) scale(1); 
}
.woocommerce-loop-product__link.quicker-has-quickview:hover .quicker_q_view.quicker-in-thumb:hover { background:rgba(0,0,0,.8); border-color:rgba(0,0,0,.8); }

/* Quicker Checkout Fields - Radio & Checkbox */
.woocommerce-checkout .form-row input[type="radio"],
.woocommerce-checkout .form-row input[type="checkbox"] {
    width: auto !important;
    display: inline-block !important;
    margin-right: 6px;
}
.woocommerce-checkout .form-row.woocommerce-validated input[type="radio"],
.woocommerce-checkout .form-row.woocommerce-validated input[type="checkbox"] {
    border-color: inherit;
}
.woocommerce-checkout .form-row label.radio,
.woocommerce-checkout .form-row .woocommerce-input-wrapper label {
    display: block;
    font-weight: 400;
    padding: 4px 0;
    cursor: pointer;
}