/** Shopify CDN: Minification failed

Line 965:12 Expected identifier but found whitespace
Line 965:13 Unexpected "translateY("

**/
/* ---------------- Cart Wrapper ---------------- */
/* --------------------------------------------- */
.shopify-section.usp-banner-outer {
  position: relative;
  z-index: 1;
}
df-recommendations-v2 {
  position: relative;
  background-color: white;
  display: block;
}
.shopify-section--main-cart {
  background-color: #f4f4f4;
  /* overflow: hidden; */
}
/* Apply page width to cart page wrapper - matches jrs-main-header and announcement bar */
#mrk-cart-page-wrapper {
  max-width: min(100%, var(--jrs-container-max-width, 1440px));
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ensure direct children are centered and full width */
#mrk-cart-page-wrapper > * {
  width: 100%;
  max-width: 100%;
}

/* Mobile: Remove margin-top and reduce padding to half */
@media screen and (max-width: 980px) {
  #mrk-cart-page-wrapper {
    margin-top: 0 !important;
    padding-left: 0.75rem; /* Half of 1.5rem */
    padding-right: 0.75rem; /* Half of 1.5rem */
    padding-bottom: 0;
  }
}


/* Note: Tailwind classes on #mrk-cart-page-wrapper will be overridden by the page-width styles above */

/* ---------------- Cart Header ---------------- */
/* --------------------------------------------- */

.jrs-main-cart__items .jrs-main-cart-header {
  margin-block-end: 1.5rem;
}
.jrs-main-cart__items .mrk-cart-annoucement {
  margin-block-end: 1rem;
}
@media screen and (max-width: 980px) {
  .jrs-main-cart__items .jrs-main-cart-header {
    margin-block-end: 1rem;
  }
}
.jrs-main-cart__items .mrk-cart-annoucement {
  margin-block-end: 1rem;
}
@media screen and (min-width: 981px) {
  .jrs-main-cart__items .jrs-main-cart-header {
    margin-block-end: 2rem;
  }
  .jrs-main-cart__items .mrk-cart-annoucement {
    margin-block-end: 2rem;
  }
}

.jrs-main-cart-header h1 {
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
}

/* Clear Cart Button */
.clear-cart-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1;
  transition: color 0.2s ease;
  align-self: center;
  margin-top: 5px;
}

.clear-cart-button:hover {
  color: #dc2626;
}

.clear-cart-button:active {
  color: #dc2626;
}

.clear-cart-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.clear-cart-button__text-mobile {
  display: inline;
}

.clear-cart-button__text-desktop {
  display: none;
}

@media screen and (min-width: 769px) {
  .clear-cart-button {
    font-size: 13px;
    margin-top: 0;
  }
  
  .clear-cart-button__text-mobile {
    display: none;
  }
  
  .clear-cart-button__text-desktop {
    display: inline;
  }
}

@media screen and (max-width: 768px) {
  .clear-cart-button {
    font-size: 12px;
    color: #9ca3af;
  }
}
@media screen and (max-width: 980px) {
  .cart-items-large {
    margin-top: 0 !important;
  }
  .template-cart #chat-widget-container {
    display: none !important;
  }
  .template-cart #shopify-section-custom-announcement-bar {
    display: none !important;
  }
}
@media screen and (min-width: 981px) {
  .jrs-main-cart-header h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 100%;
  }
}
.u_cart_count {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: #666666;
  vertical-align: middle;
  margin-inline-start: 0.25rem;
}
@media screen and (min-width: 981px) {
  .u_cart_count {
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
  }
}
.product-cart-info__options {
  font-size: 12px;
}
@media screen and (min-width: 981px) {
  .product-cart-info__options {
    font-size: 14px;
  }
}
.mrk-edit-box .flex.border.border-black {
  border-radius: 0.25rem;
}

.cart--delivery-note {
  padding: 12px 1.25rem;
  background-color: #deefe2;
}

@media screen and (max-width: 400px) {
  .cart--delivery-note {
    padding: 10px;
  }
}
/* ---------------- Main Cart Wrapper ---------------- */
/* ------------------------------------------------- */
.jrs-main-cart-wrapper {
  align-items: stretch;
  display: flex;
  flex-direction: column;
}

/* Mobile/Tablet: Column layout with full width sections */
@media screen and (max-width: 980px) {
  .jrs-main-cart-wrapper {
    flex-direction: column;
    gap: 0 !important;
  }
  
  /* Both sections full width on mobile/tablet */
  .jrs-main-cart__items,
  .jrs-main-cart__summary {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Desktop: Add space-around justification */
@media screen and (min-width: 981px) {
  .jrs-main-cart-wrapper {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2.75rem; /* md:gap-11 equivalent */
    margin-bottom: 2.25rem; /* md:mb-9 equivalent */
  }
}

/* ---------------- Main Cart Items ---------------- */
/* ------------------------------------------------- */
.jrs-main-cart__items {
  padding: 1rem 0;
}
@media screen and (max-width: 980px) {
  .jrs-main-cart__items {
    padding-bottom: 0;
  }
}
@media screen and (min-width: 981px) {
  .jrs-main-cart__items {
    padding-top: 0;
    padding-bottom: 2rem;
    width: 66%;
  }
}

.mrk-cart-item {
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #cccccc;
}
@media screen and (min-width: 981px) {
  .mrk-cart-item {
    padding: 12px 18px;
  }
}
.mrk-cart-item__wrapper {
  display: flex;
}
.mrk-cart-item__left {
  word-break: break-word;
  flex: 3;
}
.mrk-cart-item__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-end;
  text-align: left;
}
@media screen and (min-width: 981px) {
  .mrk-cart-item__left {
    flex: 3;
  }
  .mrk-cart-item__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-end;
    text-align: left;
  }
}

/* Mobile layout for bundle cart items */
@media screen and (max-width: 980px) {
  .mrk-cart-item .u_item_block {
    flex-direction: column;
    gap: 0;
  }
  .mrk-cart-item .mrk-cart-item__right {
    flex: 1;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding-bottom: 0.5rem;
  }
  .mrk-cart-item .pricing [data-price-wrapper] {
    flex-direction: row;
  }
}

.mrk-cart-item .mrk-cart-image {
  width: 80px;
  height: 80px;
  background-color: white;
  padding: 0.5rem;
  border-radius: 6px;
  border: 0.5px solid #cccccc;
}
/* Bundle cart items image styles */
.mrk-cart-item:has(.mrk-bundleItem-products) .mrk-cart-image {
  padding: 0;
}
@media screen and (min-width: 981px) {
  .mrk-cart-item .mrk-cart-image {
    width: 100px;
    height: 100px;
  }
}

.mrk-cart-item .product-info-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-inline-start: 10px;
}
@media screen and (min-width: 981px) {
  .mrk-cart-item .product-info-inner {
    padding-inline-start: 20px;
  }
}

.mrk-cart-item .product-info-inner > div {
  flex-grow: 0;
}
.mrk-cart-product-title {
  font-size: 16px;
  line-height: 20px;
}
.mrk-cart-product-title {
  font-weight: 500;
}
@media screen and (max-width: 980px) {
  .mrk-cart-product-title {
    font-size: 14px;
    line-height: 1.4;
  }
}
.product-cart-info__options span {
  font-weight: 500;
}

.mrk-cart-item .mrk-qty-delete {
  justify-content: flex-end;
}
.mrk-cart-item .pricing .price:not(.hidden) {
  display: flex;
  flex-direction: column;
  line-height: 0.75;
  margin-top: 0.75rem;
}
@media screen and (max-width: 980px) {
  .mrk-cart-item .pricing .price:not(.hidden) {
    flex-direction: row-reverse;
    gap: 6px;
    align-items: center;
  }
  .mrk-cart-item .pricing .price:not(.hidden) > span.text-xs {
    margin-right: auto;
    order: -1;
  }
}
@media screen and (max-width: 880px) {
  .mrk-cart-item .mrk-qty-delete,
  .mrk-cart-item .pricing {
    width: 100%;
  }
}
.mrk-cart-item button.plus,
.mrk-cart-item button.minus,
.mrk-cart-item .mrk-edit-box input[type="number"] {
  background-color: transparent;
}
.mrk-cart-item .mrk-edit-box input[type="number"] {
  border-inline: 1px solid #000000;
}

.cart--item-image {
  flex-shrink: 0;
  position: relative;
  min-width: 80px;
  aspect-ratio: 1 / 1;
  background: none;
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 990px) {
  .cart--item-image {
    min-width: 100px;
  }
}

/* Ensure images fill container without causing shift */
.cart--item-image img,
.mrk-cart-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mrk-edit-box input {
  min-height: 30px;
}

span.cart-item-compare-price-custom {
  font-size: 1rem;
  font-weight: 400;
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

span.cart-item-compare-price-custom + span {
  color: #ea653c;
  margin-bottom: 0.25rem;
}

.mrk-cart-item .mrk-customization {
  padding: 0;
  margin-top: 16px;
}
@media screen and (max-width: 980px) {
  .mrk-cart-item .mrk-customization {
    margin-top: 8px;
  }
}
.mrk-cart-item .mrk-customization:empty {
  display: none;
}
@media screen and (max-width: 980px) {
  .mrk-cart-item .mrk-customization {
    margin-top: 8px;
  }
}

.cart-item-discount-badge-custom {
  font-size: 12px;
  background: #ffeee8;
  color: #ea653c;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mrk-cart-item .pricing .price span.text-xs {
  font-weight: 400;
  font-size: 10px;
}

/* Limit cart item price font size to 16px max on small devices */
@media screen and (max-width: 750px) {
  .mrk-cart-item .pricing .price,
  .mrk-cart-item .pricing .price .u_pro_f_price,
  .mrk-cart-item .pricing .price span:not(.text-xs):not(.cart-item-compare-price-custom),
  .mrk-cart-item .price.in-vat,
  .mrk-cart-item .price.ex-vat {
    font-size: 16px !important;
  }
}

.discount-warn-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: #ea653c;
  background: #ffeee8;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  border: 1px solid #ccc;
  border-bottom: 0;
  padding: 0.25rem;
}

.discount-warn-custom + .mrk-cart-item {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 0;
}

.cart-item-discount-apply-button {
  background: #ea653c;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 400px) {
  .cart-item-discount-apply-button {
    padding: 0.25rem;
    font-size: 10px;
  }
  .cart-item-discount-badge-custom {
    font-size: 10px;
    padding: 0.3rem;
  }
  .ItemCustomisations-customisationsTitle-12b {
    margin-bottom: 0;
  }
}

button.logo-custom-edit-button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

button.logo-custom-edit-button span.button__content {
  font-size: 14px;
  font-weight: 500;
  color: #888;
}

button.logo-custom-edit-button span.button__content svg {
  width: 14px;
  height: auto;
  margin: 0;
  margin-bottom: 0.2rem;
}

.ItemCustomisations-customisationsActionsRight-LBN {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.ItemCustomisations-customisationsActionsRight-LBN span.price:not(.hidden) {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ItemCustomisations-customisationsActionsRight-LBN span.price span.text-xs {
  font-weight: 400;
  font-size: 10px;
}

li.ItemCustomisations-customisationsItem-1jn {
  flex-direction: row;
}

/* bundle customisation */
.mrk-cart-item
  .mrk-customization
  ul.ItemCustomisations-customisations-5bC:last-child {
  border-bottom-color: transparent;
}
@media screen and (max-width: 980px) {
  .ItemCustomisations-customisations-5bC {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
.ItemCustomisations-customisations-5bC:last-child {
  border-bottom: none;
}
.ItemCustomisations-customisationsLocation-1BV b {
  font-weight: normal;
}
@media screen and (max-width: 980px) {
  .ItemCustomisations-customisationsLocation-1BV {
    font-size: 10px;
  }
}
.ItemCustomisations-customisationsImage-1Ue {
  display: flex;
  width: 50px;
  min-height: 50px;
  max-height: 50px;
  border-radius: 6px;
  padding: 0;
  object-fit: contain;
  border: 1px solid #cccccc;
}

/* ==========================================================================
   Main Cart Summary / Sidebar
   
   Consolidated styles for the cart sidebar.
   Uses CSS custom properties for easy theming.
   ========================================================================== */

/* ==========================================================================
   Cart Sidebar - Spacing & Padding
   Following 8px grid system for visual consistency
   ========================================================================== */

/* CSS Custom Properties */
.jrs-main-cart__summary {
  --sidebar-bg: #ffffff;
  --sidebar-border-color: rgba(var(--color-foreground, 0, 0, 0), 0.1);
  --sidebar-sticky-top: 4rem;
  
  /* Container padding - 8px grid system */
  --sidebar-padding-x: 24px;
  --sidebar-padding-top: 24px;
  --sidebar-padding-bottom: 24px;
  
  /* Internal spacing */
  --sidebar-section-gap: 20px;
  --sidebar-row-gap: 12px;
  --sidebar-divider-gap: 24px;
  
  /* Visual styling */
  --sidebar-border-radius: 8px;
  --sidebar-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Base Styles (Mobile-first) */
.jrs-main-cart__summary {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--sidebar-bg);
  border: 1px solid var(--sidebar-border-color);
  border-radius: var(--sidebar-border-radius);
  box-shadow: var(--sidebar-shadow);
  padding: var(--sidebar-padding-top) var(--sidebar-padding-x) var(--sidebar-padding-bottom);
  max-width: 100%;
  box-sizing: border-box;
}

/* Desktop: 33% width */
@media screen and (min-width: 981px) {
  .jrs-main-cart__summary {
    width: 33%;
  }
}

/* Sticky Wrapper */
.jrs-main-cart__summary-wrapper {
  position: static;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile: Prevent horizontal overflow */
@media screen and (max-width: 980px) {
  .jrs-main-cart__summary {
    overflow: hidden;
  }
  .jrs-main-cart__summary-wrapper {
    overflow: hidden;
  }
}

/* Desktop Sticky Behavior (700px+) */
@media screen and (min-width: 981px) {
  .jrs-main-cart__summary {
    align-self: flex-start;
    box-shadow: none;
  }
  .jrs-main-cart__summary-wrapper {
    position: sticky;
    top: var(--sidebar-sticky-top);
  }
}

/* Responsive Padding Adjustments */
/* Medium screens (990-1199px) - Slightly tighter */
@media screen and (min-width: 990px) and (max-width: 1199px) {
  .jrs-main-cart__summary {
    --sidebar-padding-x: 20px;
    --sidebar-padding-top: 20px;
    --sidebar-padding-bottom: 20px;
    --sidebar-section-gap: 16px;
  }
}

/* Large screens (1200px+) - Comfortable */
@media screen and (min-width: 1200px) {
  .jrs-main-cart__summary {
    --sidebar-padding-x: 24px;
    --sidebar-padding-top: 24px;
    --sidebar-padding-bottom: 24px;
    --sidebar-section-gap: 20px;
  }
}

/* Extra large screens (1400px+) - More generous */
@media screen and (min-width: 1400px) {
  .jrs-main-cart__summary {
    --sidebar-padding-x: 28px;
    --sidebar-padding-top: 28px;
    --sidebar-padding-bottom: 28px;
  }
}

/* Mobile - Stack below cart items */
@media screen and (max-width: 989px) {
  .jrs-main-cart__summary {
    position: relative;
    top: auto;
    margin-top: 0;
    --sidebar-padding-x: 20px;
    --sidebar-padding-top: 20px;
    --sidebar-padding-bottom: 20px;
  }
}
/* --------------------------------------------------------------------------
   Sidebar Header - "Order Summary (29)"
   -------------------------------------------------------------------------- */
.jrs-main-cart-summary__heading {
  margin: 0 0 var(--sidebar-section-gap) 0;
  padding: 0;
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  line-height: 1.3;
  color: rgb(var(--color-foreground, 0, 0, 0));
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: wrap;
}

/* Item count in parentheses */
.jrs-main-cart-summary__heading .u_cart_count {
  font-weight: 400;
  color: rgba(var(--color-foreground, 0, 0, 0), 0.7);
}

@media screen and (min-width: 981px) {
  .jrs-main-cart-summary__heading {
    font-size: 1.25rem; /* 20px */
    margin-bottom: var(--sidebar-section-gap);
  }
}
/* --------------------------------------------------------------------------
   Totals Section - Line items (Product Costs, VAT, etc.)
   -------------------------------------------------------------------------- */
.jrs-main-cart-summary__list {
  display: flex;
  flex-direction: column;
  gap: var(--sidebar-row-gap);
  margin: 0;
  padding: 0;
}

/* Individual row (label + value) */
.jrs-main-cart-summary__list .flex.items-center.justify-between.mb-2,
.jrs-main-cart-summary__list dt,
.jrs-main-cart-summary__list dd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.4;
}

/* Row label */
.jrs-main-cart-summary__list dt {
  color: rgba(var(--color-foreground, 0, 0, 0), 0.8);
  flex-shrink: 1;
  font-weight: 700;
}

/* Row value */
.jrs-main-cart-summary__list dd {
  font-weight: 500;
  color: rgb(var(--color-foreground, 0, 0, 0));
  text-align: right;
  flex-shrink: 0;
  font-weight: 600;
}

/* Discount row (green negative value) */
.jrs-main-cart__summary .custom-discount-badge {
  color: #059669; /* Green for savings */
  font-weight: 600;
  padding-inline: 0;
  padding-block: 0.5rem;
  background: none;
  border-radius: 0;
  font-size: 16px;
  line-height: 16px;
}
.jrs-main-cart__summary .custom-discount-badge {
  /* border-block: 1px solid #d8d8d8; */
  padding-inline: 0;
  padding-block: 0.5rem;
  background: none;
  color: #377e22;
  border-radius: 0;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
}

/* Override for specific list items that need border */
.jrs-main-cart-summary__list .flex.items-center.justify-between.mb-2 {
  margin-bottom: var(--sidebar-row-gap);
  padding-bottom: var(--sidebar-row-gap);
  border-bottom: 1px solid var(--sidebar-border-color);
}

/* --------------------------------------------------------------------------
   Grand Total Row - Visual emphasis
   -------------------------------------------------------------------------- */
.jrs-main-cart-summary__total {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.jrs-main-cart-summary__total dt {
  font-size: 1.125rem; /* 18px */
  line-height: 1.3;
  font-weight: 700;
  color: rgb(var(--color-foreground, 0, 0, 0));
  text-transform: uppercase;
  letter-spacing: 0.025em;
  flex-shrink: 1;
}

.jrs-main-cart-summary__total dd {
  font-size: 1.25rem; /* 20px */
  line-height: 1.3;
  font-weight: 700;
  color: #ff7044;
  text-align: right;
  flex-shrink: 0;
}

/* VAT indicator (exc. VAT / inc. VAT) */
.jrs-main-cart-summary__total dd .vat-info {
  font-size: 0.75rem; /* 12px */
  font-weight: 400;
  color: rgba(var(--color-foreground, 0, 0, 0), 0.6);
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   Checkout Button
   -------------------------------------------------------------------------- */
.jrs-main-cart-summary__checkout,
.jrs-main-cart__summary .jrs-main-cart-summary__checkout-btn {
  margin-top: var(--sidebar-section-gap);
}

a.jrs-main-cart-summary__checkout-btn[href] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  background-color: #377e22;
  border: 2px solid #377e22;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
  text-align: center;
  text-decoration: none;
}

/* Button hover state */
a.jrs-main-cart-summary__checkout-btn[href]:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Button active/pressed state */
a.jrs-main-cart-summary__checkout-btn[href]:active {
}

/* Checkout button loading state */
.jrs-main-cart-summary__checkout-btn.checkout-validating,
.cart-sticky-checkout__button.checkout-validating {
  position: relative;
  pointer-events: none;
  opacity: 1;
  cursor: wait !important;
  color: transparent !important;
}

/* Hide all text content in button when validating */
.jrs-main-cart-summary__checkout-btn.checkout-validating > *,
.cart-sticky-checkout__button.checkout-validating > * {
  display: none !important;
}

.jrs-main-cart-summary__checkout-btn.checkout-validating::after,
.cart-sticky-checkout__button.checkout-validating::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: checkout-spin 0.8s linear infinite;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.checkout-loading-text {
  display: none !important;
}

@keyframes checkout-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
  transform: translateY(0);
}

/* Lock icon in button */
.jrs-main-cart-summary__checkout-icon {
  display: flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-block-end: 0;
}

.jrs-main-cart-summary__checkout-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* ---------------- Main Cart Footer ---------------- */
/* -------------------------------------------------- */

/* Removed padding rules - all padding now removed via base rule above */

.jrs-main-cart__summary .custom-discount-badge .price {
  font-weight: 800;
}

span.u_pro_f_price.cart-item-compare-price-custom {
  margin-bottom: -0.25rem;
  font-size: 0.8rem;
}

span.u_pro_f_price.cart-item-compare-price-custom + span.u_pro_f_price {
  margin-bottom: -0.2rem;
  color: #000;
  font-size: 0.9rem;
}

span.logo-discount-badge-custom {
  background: #ffeee8;
  color: #000000;
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

@media only screen and (max-width: 1060px) {
  span.logo-discount-badge-custom {
    font-size: 10px;
  }
}

.discount-warn-custom.discount-warn-custom-3 {
  background: #fffde8;
  color: #282828;
  font-size: 12px;
}

.discount-warn-custom.discount-warn-custom-2 {
  background: #fff3e8;
  color: #282828;
  font-size: 12px;
}

.discount-warn-custom.discount-warn-custom-4 {
  background: #deefe2;
  color: #282828;
  font-size: 12px;
}

@media only screen and (max-width: 400px) {
  .mrk-cart-item .product-info-inner {
    padding-inline-start: 6px;
  }
}
@media screen and (max-width: 980px) {
  .cart--delivery-note--success {
    font-size: 0.9rem;
  }
  .mrk-cart-item span.cart-item-compare-price-custom {
    margin-bottom: 0;
  }
  .mrk-cart-item span.cart-item-compare-price-custom + span {
    margin-bottom: 0;
  }
  .mrk-cart-item .mrk-qty-delete {
    width: auto;
  }
  .mrk-cart-item .mrk-customization {
    margin-top: 0;
  }
  .mrk-cart-item .product-cart-info__options {
    margin-top: 0;
  }
  .mrk-cart-item .cart-item-discount-apply-button-new,
  .mrk-cart-item .cart-item-discount-badge-custom {
    margin-top: 0;
    margin-bottom: 0.25rem;
    max-width: fit-content;
  }
}

@media only screen and (min-width: 981px) {
  /* Note: .jrs-main-cart__summary sticky styles are now in the consolidated section above */
  .jrs-main-cart-wrapper {
    margin-bottom: 0;
  }
  /* margin-bottom already removed in base #mrk-cart-page-wrapper rule */
}


/* Hide cart delivery timeline for all users */
.cart-delivery-timeline,
.cart-delivery-mobile,
.cart-delivery-timeline.desktop,
.express-delivery-upsell.desktop {
  display: none !important;
}

@media only screen and (max-width: 980px) {
  .cart-delivery-timeline.desktop , .express-delivery-upsell.desktop {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Express Delivery Upsell Section
   -------------------------------------------------------------------------- */
.express-delivery-upsell {
  margin-top: var(--sidebar-section-gap);
  padding: 16px;
  background-color: rgba(var(--color-foreground, 0, 0, 0), 0.03);
  border-radius: 6px;
}

.express-delivery-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.express-delivery-subtitle {
  font-size: 0.875rem;
  color: rgba(var(--color-foreground, 0, 0, 0), 0.7);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Trust Badges Section
   -------------------------------------------------------------------------- */
.jrs-cart-usps__wrapper,
.jrs-main-cart__trust-badges {
  margin-top: var(--sidebar-divider-gap);
  padding-top: var(--sidebar-divider-gap);
  border-top: 1px solid var(--sidebar-border-color);
}

.jrs-cart-usps__list,
.cart-sidebar__trust-list {
  display: flex;
  flex-direction: column;
  gap: var(--sidebar-row-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.jrs-cart-usps__item,
.cart-sidebar__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
  color: rgba(var(--color-foreground, 0, 0, 0), 0.8);
}

.jrs-cart-usps__icon,
.cart-sidebar__trust-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.jrs-cart-usps__link,
.cart-sidebar__trust-link {
  color: var(--color-primary, #ea580c);
  text-decoration: none;
}

.jrs-cart-usps__link:hover,
.cart-sidebar__trust-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Payment Icons
   -------------------------------------------------------------------------- */
.jrs-cart-usps__payments,
.payment-icons {
  margin-top: var(--sidebar-section-gap);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.jrs-cart-usps__payment-icon,
.payment-icon {
  height: 24px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.jrs-cart-usps__payment-icon:hover,
.payment-icon:hover {
  opacity: 1;
}

.jrs-cart-usps__wrapper {
  margin-top: var(--sidebar-divider-gap) !important;
}

/* Remove margin-top on mobile only */
@media only screen and (max-width: 980px) {
  .jrs-cart-usps__wrapper {
    margin-top: 0 !important;
  }
  
  /* Add margin-top for USP elements when express delivery is not present */
  /* Default: add margin-top to USP elements */
  .jrs-main-cart__summary .jrs-cart-usps,
  .jrs-main-cart__summary .jrs-cart-usps-inline {
    margin-top: 1rem !important;
  }
  
  /* Remove margin-top if express-delivery-upsell is present before them */
  .jrs-main-cart__summary > .express-delivery-upsell ~ .jrs-cart-usps,
  .jrs-main-cart__summary > .express-delivery-upsell ~ .jrs-cart-usps-inline,
  .jrs-main-cart__summary .express-delivery-upsell ~ .jrs-cart-usps,
  .jrs-main-cart__summary .express-delivery-upsell ~ .jrs-cart-usps-inline {
    margin-top: 0 !important;
  }
}

/* Prevent horizontal overflow on mobile - Additional elements */
@media only screen and (max-width: 980px) {
  /* Note: .jrs-main-cart__summary overflow is handled in consolidated section above */
  .jrs-main-cart-summary__list,
  .jrs-cart-usps,
  .jrs-cart-usps-inline,
  .jrs-cart-usps__wrapper,
  .jrs-cart-usps__list,
  .jrs-cart-usps__payments {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  /* Ensure all text and content wraps properly */
  .jrs-main-cart__summary * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Prevent SVGs and images from causing overflow */
  .jrs-main-cart__summary svg,
  .jrs-main-cart__summary img {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Loading States for Cart Items
   Full-section overlay is the only visible loader (see .full-cart-loader--overlay).
   Per-item overlay/spinner are hidden so the full-section opacity + spinner is used.
   ========================================================================== */

/* Loading state for cart items — only disable interaction; no per-item overlay */
.mrk-cart-item.is-loading,
[data-cart-item].is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

/* Per-item overlay and spinner hidden — full-section loader shows instead */
.mrk-cart-item.is-loading::after,
[data-cart-item].is-loading::after,
.mrk-cart-item.is-loading::before,
[data-cart-item].is-loading::before {
  content: none;
  display: none;
}

/* Disabled buttons during loading */
.mrk-cart-item.is-loading button,
.mrk-cart-item.is-loading input,
[data-cart-item].is-loading button,
[data-cart-item].is-loading input {
  pointer-events: none;
  opacity: 0.8;
}

/* Error message styles */
.cart-item__error,
.mrk-cart-item__error {
  position: relative;
  background-color: #dc2626;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-bottom: 8px;
  z-index: 20;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cart error notification */
.cart-error-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #dc2626;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 400px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Full cart section loader overlay (fixed so spinner stays visible when scrolling)
   Opacity layer + spinner over entire viewport when any cart item is updating.
   ========================================================================== */
.full-cart-loader--overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.88);
  pointer-events: auto;
}

/* When visible, ensure overlay is shown (class toggled by mrk-cart.js) */
.full-cart-loader--overlay.full-cart-loader--visible {
  display: flex !important;
  visibility: visible;
  opacity: 1;
}

.full-cart-loader--overlay .full-cart-loader__spinner {
  position: relative;
  width: 52px;
  height: 52px;
  border: 4px solid rgba(0, 0, 0, 0.15);
  border-top-color: #fc5a2a;
  border-radius: 50%;
  animation: jrs-cart-loader-spin 0.85s linear infinite;
  flex-shrink: 0;
  margin-top: 0;
}

/* Ensure spinner remains visible above overlay when many cart items / long scroll */
.full-cart-loader--overlay .full-cart-loader__spinner.mrk-loader {
  position: relative;
  z-index: 1;
}

@keyframes jrs-cart-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .full-cart-loader--overlay .full-cart-loader__spinner.mrk-loader:before,
  .full-cart-loader--overlay .full-cart-loader__spinner.mrk-loader:after {
    animation-duration: 0.01ms;
  }
}

/* Reduced motion: central spinner animation is in .full-cart-loader--overlay */
@media (prefers-reduced-motion: reduce) {
  .cart-item__error,
  .mrk-cart-item__error {
    animation: none;
  }
}

/* ==========================================================================
   CLS Prevention - Fixed Dimensions for Cart Items
   ========================================================================== */

/* Cart item with fixed dimensions to prevent layout shift */
.mrk-cart-item {
  min-height: 120px; /* Prevent collapse during loading */
  position: relative;
}

/* Fixed width for quantity section */
.mrk-edit-box {
  min-width: 100px;
}

/* Fixed width for price section */
.pricing {
  min-width: 80px;
  text-align: right;
}

@media (min-width: 990px) {
  .pricing {
    min-width: 100px;
  }
}

/* Tabular numbers prevent width changes when prices update */
.cart-product-total,
.cart-total,
[data-cart-total],
[data-cart-subtotal],
[data-line-price] {
  font-variant-numeric: tabular-nums;
}