/** Shopify CDN: Minification failed

Line 615:0 Unexpected "{"
Line 615:1 Expected identifier but found "%"
Line 616:13 Expected identifier but found whitespace
Line 617:2 Unexpected "-"
Line 617:22 Expected ":"
Line 617:24 Unexpected "-"
Line 620:3 Expected identifier but found "%"
Line 621:0 Unexpected "{"
Line 621:1 Expected identifier but found "%"
Line 623:0 Unexpected "{"
... and 436 more hidden warnings

**/
.free-shipping__notice {
  margin-bottom: 0;
}

.free-shipping-container {
  margin: calc(6 * var(--space-unit) * -1) 0;
  padding: calc(8 * var(--space-unit));
}
.free-shipping-container.color-scheme {
  --btn-bg-color: var(--heading-color);
  margin-bottom: calc(6 * var(--space-unit));
  padding: calc(6 * var(--space-unit)) calc(8 * var(--space-unit));
}
cart-drawer .free-shipping-container {
  margin: calc(var(--gutter) * -1) calc(var(--gutter) * -1) 0;
}
.cart .free-shipping-container:not(.color-scheme) {
  margin: 0 0 calc(12 * var(--space-unit));
  padding: 0;
}

.free-shipping-notice__bar {
  height: 8px;
  border-radius: var(--btn-border-radius);
  background-color: rgba(var(--text-color)/0.2);
}
.free-shipping-notice__bar::after {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  transition: width 0.3s ease-out;
  border-radius: var(--btn-border-radius);
  background-color: rgb(var(--btn-bg-color));
}

cart-items {
  position: relative;
}

.cart-items tr {
  border-bottom: 1px solid rgba(var(--text-color)/0.15);
}
.cart-items td {
  border: 0;
  vertical-align: top;
}

.cart-item {
  grid-template-columns: 64px auto;
  padding: 2.4rem 0;
  transition: opacity 0.4s;
}
.pointer-events-none .cart-item {
  opacity: 0.3;
}
.cart-item:first-child {
  padding-top: 0;
}
.cart-item:is(tr):has(+ .cart-item--nested) {
  padding-bottom: 0;
  border-bottom: 0;
}
.cart-item .price__current {
  font-size: 1em;
}
.cart-item .price__was {
  font-size: 0.8em;
}
.cart-item .backorder {
  margin-top: calc(3 * var(--space-unit));
  font-size: 0.88em;
}

.cart-item--nested .cart-item__image {
  padding-inline-start: 33.333%;
}

.cart-item__image {
  grid-column: 1/2;
  grid-row: 1/4;
  padding: 0;
}
.cart-item__image img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

.cart-item__info {
  padding-top: calc(2 * var(--space-unit));
}

.cart-item__details,
.cart-item__qty,
.cart-item__total {
  grid-column: 2/3;
  padding: 0;
}

.drawer--cart .cart-item__qty {
  --input-bg-color: var(--drawer-bg-color);
  --input-text-color: var(--drawer-text-color);
}
.cart-item__qty quantity-input {
  margin-inline-end: calc(2 * var(--space-unit));
}
.cart-item__qty .qty-input--combined .qty-input__btn,
.cart-item__qty .qty-input__input {
  height: calc(14px + 2rem);
}

.product-info__block .qty-input--combined .qty-input__btn,
.drawer__footer .qty-input--combined .qty-input__btn {
  height: calc(var(--padding) * 2 + 0.6rem);
}

.cart-item__total {
  padding-top: calc(4 * var(--space-unit));
}

.cart-item__loader {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin-top: -20px;
}

.cart-item__loader.is-loading {
  width: 20px;
  margin-inline-start: calc(6 * var(--space-unit));
}

.cart-item__remove {
  transition: color 0.3s;
}
.cart-item__remove path {
  transform-origin: 50% 55%;
  transition: transform 0.2s;
}
.cart-item__remove:hover {
  color: rgb(var(--link-color-og));
}
.cart-item__remove:hover path:nth-child(2) {
  transform: scaleX(-1);
}

.cart:has([data-empty=true]) .cart__shipping-calculator {
  display: none;
}

.dynamic-cart-btns shopify-accelerated-checkout-cart {
  --shopify-accelerated-checkout-button-block-size: 45px;
  --shopify-accelerated-checkout-button-inline-size: 45px;
  --shopify-accelerated-checkout-button-border-radius: var(--btn-border-radius, 0);
  --shopify-accelerated-checkout-button-box-shadow: none;
  --shopify-accelerated-checkout-inline-alignment: start;
  --wallet-button-container-margin-vertical: 0px;
  --shopify-accelerated-checkout-row-gap: 8px;
  --shopify-accelerated-checkout-skeleton-background-color: rgba(0, 0, 0, 0);
  --shopify-accelerated-checkout-skeleton-animation-opacity-start: 0;
  --shopify-accelerated-checkout-skeleton-animation-opacity-end: 0;
  --shopify-accelerated-checkout-skeleton-animation-duration: 0s;
}

.wallet-cart-grid {
  max-width: none !important;
  margin-top: 1rem !important;
}

.wallet-cart-button-container,
.wallet-cart-button {
  --wallet-button-border-radius: var(--btn-border-radius, 0) !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: var(--btn-border-radius, 0) !important;
}

.cart-recommendations .price__current {
  font-size: 1em;
}
.cart-recommendations .price__was {
  font-size: 0.8em;
}
.cart-recommendations .slider-nav {
  right: 0;
}

/* Note, Shopify styles buttons differently < 750px */
@media (min-width: 750px) {
  .dynamic-cart-btns > .dynamic-checkout__content > div {
    margin-top: calc(2 * var(--space-unit));
  }
}
@media (min-width: 768px) {
  .cart-item {
    grid-template-columns: 112px auto auto;
  }
  .cart-item__details,
  .cart-item__qty {
    grid-column: 2/3;
  }
  .cart-item__total {
    grid-column: 3/4;
    grid-row: 1/4;
    padding-top: 0;
    text-align: end;
  }
  .cart-item__total .price__current {
    padding-inline-end: 0;
  }
  .cart-item__qty {
    grid-row: 3/4;
    margin-top: 0;
  }
  cart-drawer .free-shipping-container {
    margin: calc(8 * var(--space-unit) * -1) calc(8 * var(--space-unit) * -1) 0;
  }
}

/* ==========================================================
   MK CUSTOM
   Mobile Cart Product Content
   Match cart drawer title + promotion hierarchy.
========================================================== */

@media screen and (max-width: 749px) {

  /* MK CUSTOM - Hide SKU in Cart Drawer Only */
  #cart-drawer .cart-item__sku {
    display: none !important;
  }

  /* ----------------------------------------------------------
     Title + Promotion
     Stack these instead of letting the promo flow with title.
  ---------------------------------------------------------- */

  .mkcustom-cart-page .mkcustom-cart-item__title-row {
    display: flex !important;

    width: 100%;
    min-width: 0;

    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    margin: 0;
  }


  /* Product title */
  .mkcustom-cart-page
    .mkcustom-cart-item__title-row
    .cart-item__title {
    display: -webkit-box;

    width: 100%;
    max-width: 100%;

    margin: 0;

    overflow: hidden;

    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;

    overflow-wrap: normal;
    word-break: normal;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }


  /* ----------------------------------------------------------
     Kite Promotion
     Match compact cart drawer treatment.
  ---------------------------------------------------------- */

  .mkcustom-cart-page
    .mkcustom-cart-item__promotion-pill {
    display: flex;

    width: 100%;
    max-width: 100%;

    align-items: center;

    gap: 6px;

    margin: 7px 0 0;
    padding: 0 0 8px;

    overflow: visible;

    border: 0;
    border-bottom: 1px solid rgba(var(--text-color) / 0.12);
    border-radius: 0;

    background: transparent;

    color: #c62828;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;

    white-space: normal;
  }


  /* Promotion description gets remaining space */
  .mkcustom-cart-page
    .mkcustom-cart-item__promotion-pill
    > :not(.mkcustom-cart-item__promotion-label) {
    min-width: 0;

    white-space: normal;
  }


  /* Keep Kite icon small */
  .mkcustom-cart-page
    .mkcustom-cart-item__promotion-pill
    svg {
    flex: 0 0 15px;

    width: 15px;
    height: 15px;
  }


  /* Promotion Offer badge */
  .mkcustom-cart-page
    .mkcustom-cart-item__promotion-label {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    margin-left: auto;

    padding: 5px 8px;

    border-radius: 4px;

    background: #d4242f !important;
    color: #ffffff !important;

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
  }


  /* ----------------------------------------------------------
     Price
     Bring it directly beneath promo/title content.
  ---------------------------------------------------------- */

  .mkcustom-cart-page .cart-item__info {
    margin-top: 9px !important;
  }


  /* Quantity directly under price */
  .mkcustom-cart-page .mkcustom-cart-item__actions {
    margin-top: 9px !important;
  }
}

/* ==========================================================
   MK CUSTOM
   Cart Drawer Product Promotion Styling
   Match completed mobile cart hierarchy
========================================================== */

/* ----------------------------------------------------------
   Image column
   Stack Sale / Kite badge directly above product image
---------------------------------------------------------- */

#cart-drawer .cart-item__image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;

  gap: 5px;
}


/* ----------------------------------------------------------
   SALE badge
   Use same above-image placement as mobile cart
---------------------------------------------------------- */

#cart-drawer .mkcustom-cart-item__sale-badge {
  position: static !important;

  display: flex;

  width: 100%;
  min-height: 18px;

  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 1px 5px;

  border-radius: 3px;

  background: #c62828;
  color: #fff;

  font-size: 0.975rem;
  font-weight: 800;
  line-height: 1;

  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;

  box-sizing: border-box;
}


/* ----------------------------------------------------------
   KITE promo badge
   Show above product image
---------------------------------------------------------- */

#cart-drawer
  .mkcustom-cart-item__promotion-badge-mobile {
  display: flex !important;

  width: 100%;
  min-height: 28px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 2px;

  margin: 0;
  padding: 4px 5px;

  border: 1px solid #f3c8c8;
  border-radius: 3px;

  background: #fff5f5;
  color: #b42318;

  font-weight: 800;
  line-height: 1.05;

  text-align: center;
  text-transform: uppercase;

  box-sizing: border-box;
}


#cart-drawer
  .mkcustom-cart-item__promotion-badge-title {
  display: block;

  width: 100%;

  font-size: 0.975rem;
  font-weight: 800;
  line-height: 1;
}


#cart-drawer
  .mkcustom-cart-item__promotion-badge-value {
  display: block;

  width: 100%;

  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;
}


/* ----------------------------------------------------------
   Product title hierarchy
---------------------------------------------------------- */

#cart-drawer .mkcustom-cart-item__title-row {
  display: flex !important;

  width: 100%;
  min-width: 0;

  flex-direction: column;
  align-items: flex-start;

  gap: 0;

  margin: 0;
}


/* ----------------------------------------------------------
   Kite description directly under title
---------------------------------------------------------- */

#cart-drawer
  .mkcustom-cart-item__promotion-message-mobile {
  display: block !important;

  width: 100%;
  max-width: 100%;

  margin: 4px 0 0;

  color: #b42318;

  font-size: 1.035rem;
  font-weight: 600;
  line-height: 1.2;

  white-space: normal;
  overflow-wrap: anywhere;
}


/* Hide old inline Kite pill in drawer */
#cart-drawer
  .mkcustom-cart-item__promotion-pill {
  display: none !important;
}

/* ----------------------------------------------------------
   Cart Drawer - Free Shipping Typography
   15% larger
---------------------------------------------------------- */

#cart-drawer .free-shipping-notice__heading {
  font-size: 1.15em;
}

#cart-drawer .free-shipping-notice__text {
  font-size: 0.767em;
}
/* ==========================================================
   MK CUSTOM
   Mobile Cart Drawer - Compact Express Wallets
========================================================== */

@media screen and (max-width: 749px) {

  #cart-drawer .dynamic-cart-btns {
    width: 100%;
    max-width: 100%;

    /* Remove the scroll-container behavior */
    max-height: none;
    overflow: visible;
  }

  #cart-drawer
    .dynamic-cart-btns
    shopify-accelerated-checkout-cart {

    /* Minimum compact button sizing */
    --shopify-accelerated-checkout-button-block-size: 28px;
    --shopify-accelerated-checkout-button-inline-size: 28px;

    --shopify-accelerated-checkout-row-gap: 5px;

    --shopify-accelerated-checkout-button-border-radius: 4px;

    --shopify-accelerated-checkout-inline-alignment: center;
  }

  #cart-drawer .wallet-cart-grid {
    margin-top: 6px !important;
  }

}

{%- comment -%}
  Parameters:
  - is_drawer {Boolean} - Is cart drawer.

  Usage:
  {% render 'cart-items', is_drawer: true %}
{%- endcomment -%}

{%- if cart != empty -%}
  <script src="{{ 'cart-items.js' | asset_url }}" defer="defer"></script>
{%- endif -%}

{%- liquid
  if is_drawer
    assign section_id = 'cart-drawer'
  else
    assign section_id = section.id
  endif
-%}

<cart-items id="cart-items" data-section="{{ section_id }}" data-empty="{% if cart == empty %}true{% else %}false{% endif %}">
  {%- if cart == empty -%}
    <div class="cart-empty flex flex-col justify-center items-center h-full js-cart-empty">
      {%- if settings.cart_icon == 'bag' -%}
        {%- render 'icon-bag' -%}
      {%- elsif settings.cart_icon == 'basket' -%}
        {%- render 'icon-basket' -%}
      {%- else -%}
        {%- render 'icon-cart' -%}
      {%- endif -%}

      <p>{{ 'cart.general.empty' | t }}</p>

      {%- if settings.cart_empty_shop_link -%}
        <a class="btn btn--primary" href="{{ settings.cart_empty_shop_link }}">
          {{- 'cart.general.start_shopping' | t -}}
        </a>
      {%- endif -%}
    </div>
  {%- endif -%}

  {%- if cart != empty -%}
    <table class="cart-items w-full">
      <thead class="visually-hidden">
        <tr>
          <th colspan="2">{{ 'cart.items.product' | t }}</th>
          <th>{{ 'cart.items.price' | t }}</th>
          <th>{{ 'cart.items.quantity' | t }}</th>
          {%- unless is_drawer -%}
            <th>Recommendations</th>
          {%- endunless -%}
        </tr>
      </thead>
      <tbody>
        {%- liquid
          assign mkcustom_cart_render_passes = 'all' | split: ','

          unless is_drawer
            assign mkcustom_cart_render_passes = 'without_recommendations,with_recommendations' | split: ','
          endunless
        -%}

        {%- for mkcustom_cart_render_pass in mkcustom_cart_render_passes -%}
          {%- for item in cart.items -%}

          {%- comment -%}
          MK Custom
          Preserve Shopify's original cart line number.
          {%- endcomment -%}

          {%- assign mkcustom_cart_line_index = forloop.index -%}

            {%- liquid
            if item.variant.compare_at_price > item.variant.price
              assign variant_price_reduced = true
            else
              assign variant_price_reduced = false
            endif

            assign mkcustom_has_recommendations = false

            if item.product.metafields.custom.recommended_products_skus.value != blank
              assign mkcustom_has_recommendations = true
            endif

            if mkcustom_cart_render_pass == 'without_recommendations' and mkcustom_has_recommendations
              continue
            endif

            if mkcustom_cart_render_pass == 'with_recommendations' and mkcustom_has_recommendations == false
              continue
            endif
          -%}

              {%- comment -%}
                MK Custom - Dynamic Promotion Messaging
                Shared across mobile, tablet and desktop.

                Priority:
                1. Free Item
                2. Percentage Off
                3. Fixed Dollar Amount Off
                4. Offer fallback
              {%- endcomment -%}

              {%- assign mkcustom_promo_value_text = 'Offer' -%}

              {%- if item.discounts.size > 0 -%}

                {%- assign mkcustom_discount_allocation =
                  item.line_level_discount_allocations.first
                -%}

                {%- if item.final_price == 0 and item.original_price > 0 -%}

                  {%- assign mkcustom_promo_value_text = 'Free Item' -%}

                {%- elsif mkcustom_discount_allocation != blank -%}

                  {%- assign mkcustom_discount_application =
                    mkcustom_discount_allocation.discount_application
                  -%}

                  {%- if mkcustom_discount_application.value_type == 'percentage' -%}

                    {%- assign mkcustom_discount_percent =
                      mkcustom_discount_application.value | round
                    -%}

                    {%- assign mkcustom_promo_value_text =
                      mkcustom_discount_percent | append: '% Off'
                    -%}

                  {%- elsif mkcustom_discount_application.value_type == 'fixed_amount' -%}

                    {%- capture mkcustom_discount_amount -%}
                      {%- render 'price-as-money',
                        price: mkcustom_discount_allocation.amount,
                        show_money_with_currency: false
                      -%}
                    {%- endcapture -%}

                    {%- assign mkcustom_promo_value_text =
                      mkcustom_discount_amount
                      | strip
                      | append: ' Off'
                    -%}

                  {%- endif -%}

                {%- endif -%}

              {%- endif -%}

              <tr
                class="
                  cart-item
                  grid
                  gap-x-6
                  {% if mkcustom_has_recommendations %}
                    mkcustom-cart-item--has-recommendations
                  {% else %}
                    mkcustom-cart-item--no-recommendations
                  {% endif %}
                "
                id="cart-item-{{ mkcustom_cart_line_index }}"
                data-product-id="{{ item.product_id }}"
                data-variant-id="{{ item.variant_id }}"
              >
              <td class="cart-item__image">

                {%- comment -%}
                  MK Custom - Mobile Promotion Offer Badge
                  Displays above the product image only when this cart line
                  has a discount/promotion.
                {%- endcomment -%}

                {%- if item.discounts.size > 0 -%}
                  <span class="mkcustom-cart-item__promotion-badge-mobile">

                    <span class="mkcustom-cart-item__promotion-badge-title">
                      PROMO OFFER
                    </span>

                    <span class="mkcustom-cart-item__promotion-badge-value">
                      {{ mkcustom_promo_value_text }}
                    </span>

                  </span>
                {%- endif -%}

                {%- if variant_price_reduced and item.discounts.size == 0 -%}

                  {%- assign mkcustom_sale_savings = item.variant.compare_at_price
                    | minus: item.variant.price
                  -%}

                  {%- assign mkcustom_sale_percent = mkcustom_sale_savings
                    | times: 100.0
                    | divided_by: item.variant.compare_at_price
                    | round
                  -%}

                  <span class="mkcustom-cart-item__sale-badge">
                    SALE · {{ mkcustom_sale_percent }}% OFF
                  </span>

                {%- endif -%}


                <a href="{{ item.url }}" class="block">
                {%- if item.image -%}
                  {%- capture sizes -%}
                    {%- render 'sizes-attribute', min: '64px', sm: '128px', md: false, lg: false, xl: false, max: false -%}
                  {%- endcapture -%}
                  {{ item.image | image_url: width: 180 | image_tag: widths: '64, 128, 180', sizes: sizes, loading: 'lazy' }}
                {%- else -%}
                  <div class="media relative" style="padding-top: 100%;">
                    {{ 'image' | placeholder_svg_tag: 'media__placeholder img-fit' }}
                  </div>
                {%- endif -%}
              </a>
            </td>
            <td class="cart-item__details">
              {%- if section.settings.show_vendor and item.vendor != blank -%}
                <div class="text-theme-light text-sm mb-2">
                  {{ item.product.metafields.custom.brand }}
                </div>
              {%- endif -%}

            {%- if item.variant.sku != blank -%}
              <div class="cart-item__sku">
                SKU #{{ item.variant.sku }}
              </div>
            {%- endif -%}

            {%- comment -%}
            ==========================================================
            MK Custom
            Inline Kite Promotion beside product title
            ==========================================================
            {%- endcomment -%}

            <div class="mkcustom-cart-item__title-row">

              <a
                class="cart-item__title m-0 font-bold text-current js-item-name"
                href="{{ item.url }}"
              >
                {{- item.product.title | escape -}}
              </a>

              {%- if item.discounts.size > 0 -%}

                {%- assign first_discount = item.discounts.first -%}


                {% comment %}
                  MK Custom - Desktop / Tablet Promotion
                {% endcomment %}

                <span class="mkcustom-cart-item__promotion-pill">

                  {% render 'icon-tags' %}

                  {{ first_discount.title | escape_once }}

                  <span class="mkcustom-cart-item__promotion-label">
                    <span class="mkcustom-cart-item__promotion-label-title">
                      PROMO OFFER
                    </span>

                    <span class="mkcustom-cart-item__promotion-label-value">
                      {{ mkcustom_promo_value_text }}
                    </span>
                  </span>
                </span>


                {% comment %}
                  MK Custom - Mobile Kite Promotion Message
                {% endcomment %}

                <span class="mkcustom-cart-item__promotion-message-mobile">
                  {{ first_discount.title | escape_once }}
                </span>

              {%- endif -%}

            </div>

              {%- if settings.cart_show_weight and item.variant.weight > 0 -%}
                <div class="cart-item__weight text-sm mt-2">
                  {{ item.variant.weight | weight_with_unit: item.variant.weight_unit }}
                </div>
              {%- endif -%}

              <div class="cart-item__info">
                {%- if variant_price_reduced or item.original_line_price != item.final_line_price -%}
                  <dl class="m-0">
                    <dt class="visually-hidden">
                      {{- 'products.product.price.sale_price' | t -}}
                    </dt>
                    <dd class="price__current inline m-0 font-bold">
                      {%- render 'price-as-money', price: item.final_price, show_money_with_currency: false -%}
                    </dd>
                    <dt class="visually-hidden">
                      {{- 'products.product.price.regular_price' | t -}}
                    </dt>
                    <dd class="inline m-0">
                      {%- if variant_price_reduced -%}
                        <s class="price__was{% if settings.superscript_decimals %} price__was--supercents{% endif %}">{%- render 'price-as-money', price: item.variant.compare_at_price, show_money_with_currency: false -%}</s>
                      {%- else -%}
                        <s class="price__was{% if settings.superscript_decimals %} price__was--supercents{% endif %}">{%- render 'price-as-money', price: item.original_price, show_money_with_currency: false -%}</s>
                      {%- endif -%}
                    </dd>
                  </dl>
                {%- else -%}
                  <strong class="price__current">
                    {%- render 'price-as-money', price: item.original_price, show_money_with_currency: false -%}
                  </strong>
                {%- endif -%}

                {%- if item.unit_price_measurement -%}
                  <div class="unit-price">
                    <span class="visually-hidden">{{ 'products.product.price.unit_price' | t }}</span>
                    <span class="unit-price__price">{%- render 'price-as-money', price: item.unit_price, show_money_with_currency: false -%}</span>
                    <span class="unit-price__separator">{{ 'products.product.price.unit_price_separator' | t }}</span>
                    <span class="unit-price__unit">
                      {%- if item.unit_price_measurement.reference_value != 1 -%}
                        {{- item.unit_price_measurement.reference_value -}}
                      {%- endif -%}
                      {{ item.unit_price_measurement.reference_unit }}
                    </span>
                  </div>
                {%- endif -%}

                {%- liquid
                  assign is_preorder = false
                  assign is_backorder = false
                  
                  if item.product.template_suffix contains 'preorder' or item.product.tags contains 'Pre order'
                    assign is_preorder = true
                  endif
                  
                  if settings.show_backorder_label
                    if item.product.template_suffix contains 'backorder' or item.product.tags contains 'Back order'
                      assign is_backorder = true
                    endif
                  endif
                -%}
                
                {%- if is_preorder -%}
                  <div class="mt-2">
                    <span class="product-label product-label--preorder">
                      {% if settings.preorder_label_icon != "none" %}
                        {% render 'icon', icon: settings.preorder_label_icon, width: 14, height: 14 %}
                      {% endif %}
                      {{- 'products.product.preorder' | t -}}
                    </span>
                  </div>
                {%- endif -%}
                
                {%- if is_backorder -%}
                  <div class="mt-2">
                    <span class="product-label product-label--backorder">
                      {% if settings.backorder_label_icon != "none" %}
                        {% render 'icon', icon: settings.backorder_label_icon, width: 14, height: 14 %}
                      {% endif %}
                      {{- 'products.product.backorder' | t -}}
                    </span>
                  </div>
                {%- endif -%}

                {%- if item.product.has_only_default_variant == false or item.properties.size != 0 or item.selling_plan_allocation != nil -%}
                  <div class="cart-item__variants text-sm">
                    <dl class="mt-2 mb-0">
                      {%- if item.product.has_only_default_variant == false -%}
                        {%- for option in item.options_with_values -%}
                          <div>
                            <dt class="inline"><strong>{{ option.name }}: </strong></dt>
                            <dd class="inline m-0">{{ option.value }}</dd>
                          </div>
                        {%- endfor -%}
                      {%- endif -%}

                      {%- for property in item.properties -%}
                        {%- assign property_first_char = property.first | slice: 0 -%}
                        {%- if property.last != blank and property_first_char != '_' -%}
                          <div>
                            <dt class="inline"><strong>{{ property.first }}: </strong></dt>
                            <dd class="inline m-0">
                              {%- if property.last contains '/uploads/' -%}
                                <a href="{{ property.last }}" class="link" target="_blank">
                                  {{ property.last | split: '/' | last }}
                                </a>
                              {%- else -%}
                                {{ property.last }}
                              {%- endif -%}
                            </dd>
                          </div>
                        {%- endif -%}
                      {%- endfor -%}
                    </dl>

                    {%- if item.selling_plan_allocation != nil -%}
                      <p class="mt-2 mb-0">{{ item.selling_plan_allocation.selling_plan.name }}</p>
                    {%- endif -%}
                  </div>
                {%- endif -%}

                {%- if section.settings.show_backorder_text -%}
                  {% render 'backorder', product: item.product, variant: item.variant %}
                {%- endif -%}

              </div>
              {%- unless is_drawer -%}
  <div class="mkcustom-cart-item__actions">
    {% render 'quantity-input',
      is_cart: true,
      item: item,
      layout_style: 'combined'
    %}

    <a
      class="cart-item__remove btn btn--icon text-current tap-target js-remove-item"
      href="{{ item.url_to_remove }}"
      {%- comment -%}
      MK Custom
      Pass Shopify's original cart line number to the AJAX Cart API.
      This prevents "line parameter is invalid" errors when the cart
      is visually reordered for recommendation grouping.
      {%- endcomment -%}

      data-index="{{ mkcustom_cart_line_index }}"
      aria-label="{{ 'cart.items.remove' | t }}"
      {% if settings.preload_links %}data-no-instant{% endif %}
    >
      {% render 'icon-trash' %}
    </a>

    <div
      class="cart-item__loader relative is-loading"
      hidden
    ></div>
  </div>

  <div
    class="alert mt-3 bg-error-bg text-error-text cart-item__error"
    {%- comment -%}
    MK Custom
    Keep the error container mapped to Shopify's original cart line
    instead of the rendered display order.
    {%- endcomment -%}

    id="line-item-error-{{ mkcustom_cart_line_index }}"
    role="alert"
    hidden
  ></div>
{%- endunless -%}
            </td>
{%- if is_drawer -%}
  <td class="cart-item__qty">
    <div class="flex items-center mt-4">
      {% render 'quantity-input',
        is_cart: true,
        item: item,
        layout_style: 'combined'
      %}

      <a
        class="cart-item__remove btn btn--icon text-current tap-target js-remove-item"
        href="{{ item.url_to_remove }}"
        {%- comment -%}
        MK Custom
        Pass Shopify's original cart line number to the AJAX Cart API.
        Required because the cart may be rendered in a different visual order.
        {%- endcomment -%}

        data-index="{{ mkcustom_cart_line_index }}"
        aria-label="{{ 'cart.items.remove' | t }}"
        {% if settings.preload_links %}data-no-instant{% endif %}
      >
        {% render 'icon-trash' %}
      </a>

      <div
        class="cart-item__loader relative is-loading"
        hidden
      ></div>
    </div>

    <div
      class="alert mt-6 bg-error-bg text-error-text cart-item__error"
      {%- comment -%}
      MK Custom
      Keep drawer error messages aligned with Shopify's original
      cart line numbering.
      {%- endcomment -%}

      id="line-item-error-{{ mkcustom_cart_line_index }}"
      role="alert"
      hidden
    ></div>
  </td>
{%- endif -%}
            <td class="cart-item__total price">
              <div class="text-theme-light text-sm mb-2 md:hidden">
                {{ 'cart.items.total' | t }}
              </div>
              {%- if variant_price_reduced or item.original_line_price != item.final_line_price -%}
                <dl class="m-0 flex md:block">
                  <dt class="visually-hidden">
                    {{- 'products.product.price.sale_price' | t -}}
                  </dt>
                  <dd class="price__current m-0 font-bold">
                    {%- render 'price-as-money', price: item.final_line_price, show_money_with_currency: false -%}
                  </dd>
                  <dt class="visually-hidden">
                    {{- 'products.product.price.regular_price' | t -}}
                  </dt>
                  <dd class="m-0">
                    {%- if variant_price_reduced -%}
                      <s class="price__was{% if settings.superscript_decimals %} price__was--supercents{% endif %}">
                        {%- liquid
                          assign compare_at_total_price = item.variant.compare_at_price | times: item.quantity
                          render 'price-as-money', price: compare_at_total_price, show_money_with_currency: false
                        -%}
                      </s>
                    {%- else -%}
                      <s class="price__was{% if settings.superscript_decimals %} price__was--supercents{% endif %}">{%- render 'price-as-money', price: item.original_line_price, show_money_with_currency: false -%}</s>
                    {%- endif -%}
                  </dd>
                </dl>
              {%- else -%}
                <strong class="price__current">
                  {%- render 'price-as-money', price: item.original_line_price, show_money_with_currency: false -%}
                </strong>
              {%- endif -%}
            </td>
          </tr>
          {%- unless is_drawer -%}
  {%- if mkcustom_has_recommendations -%}

    <tr class="cart-item__recommendation-row">

      <td colspan="4">

        {% render 'mkcustom-cart-line-recommendations',
          item: item
        %}

      </td>

    </tr>

  {%- endif -%}
{%- endunless -%}
        {%- endfor -%}
      {%- endfor -%}
     </tbody>
    </table>
  {%- endif -%}

  <p class="visually-hidden" id="cart-live-region-text" role="status" aria-live="polite">
    {{ 'cart.summary.subtotal' | t }}: {%- render 'price-as-money', price: cart.total_price, show_money_with_currency: true -%}
  </p>
  <p class="visually-hidden" id="cart-line-item-status" role="status" aria-live="polite" aria-hidden="true">
    {{- 'accessibility.loading' | t -}}
  </p>

  {%- if is_drawer -%}
    <div class="alert mt-6 bg-error-bg text-error-text" id="cart-errors" role="alert" hidden></div>
  {%- endif -%}
</cart-items>

/* ==========================================================
   MK CUSTOM
   Cart Drawer Financing Placement
   Desktop stays in footer
   Mobile moves above Free Shipping
========================================================== */


/* Default / Desktop */
#cart-drawer
  .mkcustom-cart-drawer-finance-placement--desktop {
  display: block;
}


#cart-drawer
  .mkcustom-cart-drawer-finance-placement--mobile {
  display: none;
}


@media screen and (max-width: 749px) {

  #cart-drawer
    .mkcustom-cart-drawer-finance-placement--desktop {
    display: none !important;
  }


  #cart-drawer
    .mkcustom-cart-drawer-finance-placement--mobile {
    display: block !important;

    width: auto !important;
    max-width: none !important;

    margin:
      0
      calc(var(--gutter) * -1)
      10px !important;

    padding: 0;

    box-sizing: border-box;
  }


  #cart-drawer
    .mkcustom-cart-drawer-finance-placement--mobile
    .mkcustom-cart-drawer-finance {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    box-sizing: border-box;
  }

}


/* ==========================================================
   MK CUSTOM
   Hide Empty Mobile Financing Wrapper
========================================================== */

#cart-drawer
  .mkcustom-cart-drawer-finance-placement--mobile:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* MK Custom - Product order-limit note shared by the cart page and drawer. */
.mkcustom-order-limit-note {
  color: rgb(var(--text-color) / 0.72);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.8rem 0 0;
}

/* MK Custom - Compact product-level order-limit feedback in cart surfaces. */
.cart-item__error[data-mkcustom-order-limit-message="true"] {
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0.8rem 0 0 !important;
  padding: 0.7rem 1rem !important;
  border: 1px solid #f3c8c8 !important;
  border-inline-start: 4px solid #c62828 !important;
  border-radius: 4px;
  background: #fff5f5 !important;
  color: rgb(var(--text-color) / 0.78) !important;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

/* MK Custom - Position the full-cart alert just below the product title while
   preserving a small visual gap before the cart-row divider. */
.mkcustom-cart-page
  .cart-item__details
  > .cart-item__error[data-mkcustom-order-limit-message="true"] {
  margin: 0.6rem 0 1rem !important;
}

/* MK Custom - Keep the drawer message close to its affected cart line. */
cart-drawer .cart-item__error[data-mkcustom-order-limit-message="true"] {
  margin-top: 0.6rem !important;
}
