/* Mini-cart summary is isolated from theme cart-item and total styles. */
.dytp-mc-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;clear:both;width:100%;box-sizing:border-box;margin:12px 0 14px;padding:14px 0 8px;border-top:1px solid #e5e7eb;font-size:var(--dytp-mc-font-size,13px);line-height:1.4}
.dytp-mc-summary__row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.dytp-mc-summary__row>span{min-width:0;overflow-wrap:anywhere;color:#374151}
.dytp-mc-summary__row>strong{flex:0 0 auto;text-align:right;color:#111827;font-weight:600;white-space:nowrap}
.dytp-mc-summary__row>strong.dytp-mc-negative{color:#e91e63}
.dytp-mc-summary__coupon{display:inline-flex;align-items:center;border-radius:6px;padding:3px 7px;background:#f2f4f7;font-size:.94em}
.dytp-mc-badges{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:5px}
.dytp-mc-badge{display:inline-flex;max-width:100%;border-radius:5px;background:#f3f4f6;color:#6b7280;padding:2px 6px;font-size:11px;font-weight:500;white-space:normal}
.dytp-mc-line-price{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px}
.dytp-mc-line-price del{color:#9ca3af;font-weight:400}.dytp-mc-line-price strong{font-weight:650}
.dytp-mc-summary__row--points .dyr-points-value{font-size:inherit}
@media(max-width:480px){.dytp-mc-summary{gap:9px;font-size:12px}.dytp-mc-summary__row{gap:8px}.dytp-mc-badge{font-size:10px}}

/* v1.3.39: summary is part of the product scroll body, never sticky on its own. */
.dytp-mc-summary{position:static!important;inset:auto!important;flex:none;z-index:auto;max-width:100%;padding-inline:0;}
.dytp-mc-summary-list-slot{display:block;list-style:none!important;width:100%;margin:0!important;padding:0!important;float:none!important;clear:both;}
.dytp-mc-summary-list-slot::before,.dytp-mc-summary-list-slot::after{content:none!important;}
@media(max-width:480px){.dytp-mc-summary{padding-left:0;padding-right:0}}
/* v1.3.40 Shoptimizer adapter: a single product-scroll region and native sticky checkout. */
#shoptimizerCartDrawer .dytp-mc-list{min-width:0;box-sizing:border-box;}
#shoptimizerCartDrawer .dytp-mc-list > li.dytp-mc-item{
  display:grid!important;grid-template-columns:var(--dytp-mc-item-img,76px) minmax(0,1fr) auto;
  align-items:start;gap:var(--dytp-mc-item-gap,12px);
  padding:var(--dytp-mc-item-pad,16px) 0!important;
  min-width:0;overflow:visible!important;box-sizing:border-box;
  border-bottom:1px solid #e5e7eb;
}
#shoptimizerCartDrawer .dytp-mc-item__image,
#shoptimizerCartDrawer .dytp-mc-item__details,
#shoptimizerCartDrawer .dytp-mc-item__buy{min-width:0;}
#shoptimizerCartDrawer .dytp-mc-item__image a{display:block;margin:0!important;}
#shoptimizerCartDrawer .dytp-mc-item__image img{
  display:block;float:none!important;max-width:100%!important;width:100%!important;
  height:auto;aspect-ratio:1/1;object-fit:contain;margin:0!important;
}
#shoptimizerCartDrawer .dytp-mc-item__name{display:block;margin:0!important;font-size:14px;font-weight:650;line-height:1.35;color:#141923!important;overflow-wrap:anywhere;}
#shoptimizerCartDrawer .dytp-mc-item .dytp-mc-badges{margin-top:6px;gap:4px;}
#shoptimizerCartDrawer .dytp-mc-item dl.variation{margin:4px 0 0;color:#697386;}
#shoptimizerCartDrawer .dytp-mc-item dl.variation dt{display:none;}
#shoptimizerCartDrawer .dytp-mc-item dl.variation dd{display:inline;margin:0 6px 0 0;}
/* Single native WooCommerce remove link shared on cart, checkout and other pages. */
#shoptimizerCartDrawer .dytp-mc-item__remove{display:flex;align-items:center;margin-top:11px;min-width:0;}
#shoptimizerCartDrawer .dytp-mc-item__remove a.remove.dytp-mc-remove-link{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  position:static!important;float:none!important;transform:none!important;
  width:auto!important;height:28px!important;min-height:28px!important;max-width:100%!important;
  margin:0!important;padding:0!important;gap:6px!important;
  text-indent:0!important;overflow:visible!important;visibility:visible!important;opacity:1!important;
  font-family:inherit!important;font-weight:400!important;font-size:12px!important;line-height:1.4!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;color:#788391!important;
  text-decoration:underline!important;text-underline-offset:3px!important;white-space:nowrap!important;cursor:pointer!important;
}
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link::before,
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link::after{
  content:none!important;display:none!important;visibility:hidden!important;
}
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link .dytp-mc-remove-icon{
  display:block!important;flex:none!important;width:17px!important;height:17px!important;
  background-color:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v7m4-7v7M6 7l1 14h10l1-14M9 7V4h6v3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v7m4-7v7M6 7l1 14h10l1-14M9 7V4h6v3'/%3E%3C/svg%3E") center/contain no-repeat;
}
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link .dytp-mc-remove-label{
  display:inline!important;position:static!important;visibility:visible!important;
  opacity:1!important;font-size:inherit!important;color:inherit!important;text-indent:0!important;
  text-decoration:inherit!important;
}
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link:hover,
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link:focus-visible{
  color:var(--dytp-mc-footer-sale-color,#e91862)!important;
}
#shoptimizerCartDrawer .dytp-mc-item__remove a.dytp-mc-remove-link:focus-visible{
  outline:2px solid var(--dytp-mc-footer-sale-color,#e91862);outline-offset:2px;border-radius:3px!important;
}
#shoptimizerCartDrawer .dytp-mc-item__buy{display:flex;flex-direction:column;align-items:flex-end;gap:12px;}
#shoptimizerCartDrawer .dytp-mc-item__line-price{display:flex;align-items:baseline;justify-content:flex-end;gap:7px;flex-wrap:wrap;white-space:nowrap;font-size:14px;}
#shoptimizerCartDrawer .dytp-mc-item__line-price del{font-weight:400;color:#87909c;text-decoration:line-through;}
#shoptimizerCartDrawer .dytp-mc-item__line-price strong{font-weight:700;color:#e91862;}
#shoptimizerCartDrawer .dytp-mc-item__qty .shoptimizer-custom-quantity-mini-cart_container{margin:0;}
#shoptimizerCartDrawer .dytp-mc-item__qty .shoptimizer-custom-quantity-mini-cart{margin:0;}
#shoptimizerCartDrawer .dytp-mc-total{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;align-items:center;clear:both;min-width:0;}
#shoptimizerCartDrawer .dytp-mc-total__label{font-size:15px;font-weight:650;}
#shoptimizerCartDrawer .dytp-mc-total__prices{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0;text-align:right;}
#shoptimizerCartDrawer .dytp-mc-total__regular{font-size:13px;font-weight:400;color:#89919d;white-space:nowrap;}
#shoptimizerCartDrawer .dytp-mc-total__value{font-size:var(--dytp-mc-footer-price-size,20px);font-weight:750;white-space:nowrap;text-align:right;color:#131923;}
#shoptimizerCartDrawer .dytp-mc-total__value--sale{color:#ea1e63;}
@media(max-width:480px){#shoptimizerCartDrawer .dytp-mc-total__regular{font-size:12px}#shoptimizerCartDrawer .dytp-mc-total__prices{gap:5px}#shoptimizerCartDrawer .dytp-mc-total__value{font-size:min(var(--dytp-mc-footer-price-size,20px),22px)}}
#shoptimizerCartDrawer .dytp-mc-total__disclaimer{grid-column:1/-1;font-size:11px;color:#7c8797;}
#shoptimizerCartDrawer .dytp-mc-summary-list-slot{border:0!important;grid-column:1/-1;padding:0!important;}
#shoptimizerCartDrawer .dytp-mc-list li.dytp-mc-summary-list-slot{display:block!important;}
#shoptimizerCartDrawer .dytp-mc-item__qty-fallback{color:#556170;font-size:13px;}
@media(max-width:620px){
  #shoptimizerCartDrawer .dytp-mc-list > li.dytp-mc-item{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:12px 0!important;}
  #shoptimizerCartDrawer .dytp-mc-item__buy{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;}
  #shoptimizerCartDrawer .dytp-mc-item__line-price{font-size:13px;}
}

#shoptimizerCartDrawer .dytp-mc-prelude-slot{display:block;list-style:none;padding:0!important;margin:0;border:0!important;max-width:100%;}
#shoptimizerCartDrawer .dytp-mc-list .dytp-mc-prelude-slot::before,#shoptimizerCartDrawer .dytp-mc-list .dytp-mc-prelude-slot::after{display:none!important;content:none!important;}

/* 1.3.45: respect admin colors and guarantee that the compared price is crossed out. */
#shoptimizerCartDrawer .dytp-mc-item__line-price del,#shoptimizerCartDrawer .dytp-mc-item__line-price del * ,#shoptimizerCartDrawer .dytp-mc-total__regular,#shoptimizerCartDrawer .dytp-mc-total__regular *{text-decoration:line-through!important;text-decoration-color:currentColor!important;}
#shoptimizerCartDrawer .dytp-mc-item__line-price strong.dytp-mc-line-discounted{color:var(--dytp-mc-line-sale-color,#e91862)!important;}
#shoptimizerCartDrawer .dytp-mc-item__line-price strong.dytp-mc-line-regular{color:#172033!important;}
#shoptimizerCartDrawer .dytp-mc-total__value--sale{color:var(--dytp-mc-footer-sale-color,#ea1e63)!important;}
/* Allow typing in the theme's native WooCommerce AJAX quantity field. */
#shoptimizerCartDrawer .dytp-mc-item__qty input.shoptimizer-custom-quantity-mini-cart_input{pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;cursor:text!important;touch-action:manipulation;min-width:32px;caret-color:currentColor;}
#shoptimizerCartDrawer .dytp-mc-item__qty input.shoptimizer-custom-quantity-mini-cart_input:focus-visible{outline:2px solid #20b7c8;outline-offset:-2px;}

/* 1.3.84: Keep the genuine Shoptimizer native loading circle visible.
   Only suppress duplicate blockUI pseudo-spinners during an active cart mutation,
   while the actual Shoptimizer circle is visible. Do not disable Woo requests,
   form blocking, or other unrelated checkout loader displays. */
#shoptimizerCartDrawer #ajax-loading .spinner { border-width:2px!important; }
body.dytp-mc-mutation-active.dytp-mc-native-loader-visible.woocommerce-checkout
  .blockUI.blockOverlay::before,
body.dytp-mc-mutation-active.dytp-mc-native-loader-visible.woocommerce-checkout
  .blockUI.blockMsg::before { content:none!important;display:none!important; }

/* v1.3.80: Stop white flashes, keep Shoptimizer/WooCommerce ORIGINAL spinners.
   Neither loader is removed, stopped, replaced or altered.  Only their full-
   drawer translucent backgrounds are made transparent during AJAX updates. */
#shoptimizerCartDrawer #ajax-loading,
#shoptimizerCartDrawer .blockUI.blockOverlay {
  /* Preserve any theme-supplied spinner background-image. */
  background-color:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* v1.3.85: The Shoptimizer theme CSS sizes legacy <span> quantity controls,
   but its newer templates render real <button> elements. Give both the same
   click/touch target, only when the verified Checkout quantity bridge is active.
   Outside checkout the official theme continues to own these controls. */
body[data-dytp-mc-quantity-bridge="1"] #shoptimizerCartDrawer .shoptimizer-custom-quantity-mini-cart{
  box-sizing:border-box;width:max-content;max-width:100%;min-width:92px;
}
body[data-dytp-mc-quantity-bridge="1"] #shoptimizerCartDrawer .shoptimizer-custom-quantity-mini-cart .shoptimizer-custom-quantity-mini-cart_button{
  display:inline-flex!important;align-items:center;justify-content:center;
  box-sizing:border-box;width:26px!important;min-width:26px!important;height:26px!important;
  flex:0 0 26px;padding:0!important;margin:0!important;
  cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation;
  background:transparent;border:0;position:relative;z-index:1;
}
body[data-dytp-mc-quantity-bridge="1"] #shoptimizerCartDrawer .shoptimizer-custom-quantity-mini-cart input{
  flex:0 0 36px;width:36px;min-width:0;
}
body[data-dytp-mc-quantity-bridge="1"] #shoptimizerCartDrawer .shoptimizer-custom-quantity-mini-cart--flexible input{
  flex-basis:48px;width:48px;
}
body[data-dytp-mc-quantity-bridge="1"] #shoptimizerCartDrawer .shoptimizer-custom-quantity-mini-cart .shoptimizer-custom-quantity-mini-cart_button:focus-visible{
  outline:2px solid #20b7c8;outline-offset:1px;border-radius:4px;
}
