/** Shopify CDN: Minification failed

Line 1252:10 Expected identifier but found whitespace
Line 1252:16 Unexpected "!"

**/
/* =========================================================
   CART PAGE - LAYOUT
========================================================= */

.cap-cart-page{
  max-width: 1480px;
}

.cap-cart-page__title,
.template-cart .title-wrapper-with-link{
  margin-bottom: 18px;
}

.cap-cart-layout{
  gap: 24px;
  align-items: start;
}

.cap-cart-layout__items,
.cap-cart-layout__summary{
  min-width: 0;
}

.cap-cart-summary-box{
  position: sticky;
  top: 20px;
  background: #f7f7f7;
  border: 1px solid #dddddd;
  border-radius: 14px;
  padding: 18px;
}

.cap-cart-summary-box__subtotal{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.cap-cart-summary-box__subtotal span{
  font-size: 1.6rem;
  line-height: 1.35;
  color: #111;
}

.cap-cart-summary-box__subtotal strong{
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  color: #111;
}

.cap-cart-summary-box__discounts{
  margin: 0 0 14px;
}

.cap-cart-summary-box__gift{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.4;
  color: #111;
  cursor: pointer;
}

.cap-cart-summary-box__gift input{
  margin-top: 3px;
}

.cap-cart-summary-box__button{
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 700;
  background: #f3c400;
  color: #111;
  border: 0;
  box-shadow: none;
}

.cap-cart-summary-box__dynamic{
  margin-top: 10px;
}


/* =========================================================
   CART ITEMS - PAGINA CARRELLO
========================================================= */

#main-cart-items .cart-items thead,
.template-cart #main-cart-items .cart-items thead{
  display: none;
}

#main-cart-items .cart-items,
#main-cart-items .cart-items tbody,
.template-cart #main-cart-items .cart-items,
.template-cart #main-cart-items .cart-items tbody{
  display: block;
  width: 100%;
}

#main-cart-items .cart-item,
.template-cart #main-cart-items .cart-item{
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 130px;
  grid-template-rows: auto auto;
  column-gap: 22px;
  row-gap: 10px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

#main-cart-items .cart-item__media,
.template-cart #main-cart-items .cart-item__media{
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
}

#main-cart-items .cart-item__details,
.template-cart #main-cart-items .cart-item__details{
  grid-column: 2;
  grid-row: 1;
  padding-top: 0;
}

#main-cart-items .cart-item__quantity,
.template-cart #main-cart-items .cart-item__quantity{
  grid-column: 2;
  grid-row: 2;
  padding-top: 0;
  margin-top: 0;
}

#main-cart-items .cart-item__totals.small-hide,
.template-cart #main-cart-items .cart-item__totals.small-hide{
  grid-column: 3;
  grid-row: 1;
  text-align: right;
  padding-top: 0;
}

#main-cart-items .cart-item__totals.medium-hide.large-up-hide,
.template-cart #main-cart-items .cart-item__totals.medium-hide.large-up-hide{
  display: none;
}

#main-cart-items .cart-item__image-container,
.template-cart #main-cart-items .cart-item__image-container{
  max-width: 180px;
  margin: 0;
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

#main-cart-items .cart-item__image,
.template-cart #main-cart-items .cart-item__image{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#main-cart-items .cart-item__name,
.template-cart #main-cart-items .cart-item__name{
  display: block;
  margin-bottom: 8px;
  color: #111;
  text-decoration: none;
  font-size: 1.55rem;
  line-height: 1.4;
  font-weight: 500;
}

.template-cart #main-cart-items .cart-item__details .caption-with-letter-spacing{
  margin-bottom: 4px;
  color: #777;
}

.cap-cart-item__availability{
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #007600;
}

.cap-cart-item__availability--low{
  color: #c70000;
}

#main-cart-items .cart-item__details .product-option,
.template-cart #main-cart-items .cart-item__details .product-option{
  font-size: 1.28rem;
  line-height: 1.45;
  color: #222;
}

.template-cart #main-cart-items .cart-item__details dl{
  margin-top: 8px;
  margin-bottom: 0;
}

#main-cart-items .cart-item__totals .price,
.template-cart #main-cart-items .cart-item__totals .price{
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 800;
  color: #111;
}

#main-cart-items .cart-item__price-wrapper,
.template-cart #main-cart-items .cart-item__price-wrapper{
  display: flex;
  justify-content: flex-end;
}

#main-cart-items .cart-item__quantity-wrapper,
.template-cart #main-cart-items .cart-item__quantity-wrapper{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border: 3px solid #f0c400;
  border-radius: 999px;
  width: auto;
}

#main-cart-items .cart-item__quantity-wrapper cart-remove-button,
.template-cart #main-cart-items .cart-item__quantity-wrapper cart-remove-button{
  display: inline-flex;
}

#main-cart-items .cart-item__quantity-wrapper cart-remove-button .button,
.template-cart #main-cart-items .cart-item__quantity-wrapper cart-remove-button .button{
  min-width: auto;
  min-height: auto;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
}

#main-cart-items .cart-quantity.quantity,
.template-cart #main-cart-items .cart-quantity.quantity{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: auto;
  min-width: auto;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

#main-cart-items .cart-quantity .quantity__button,
.template-cart #main-cart-items .cart-quantity .quantity__button{
  min-width: auto;
  min-height: auto;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
}

#main-cart-items .cart-quantity .quantity__input,
.template-cart #main-cart-items .cart-quantity .quantity__input{
  width: 24px;
  min-width: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
  color: #111;
}

.template-cart #main-cart-items .quantity-popover__info-button,
.template-cart #main-cart-items .cart-item__error{
  margin-top: 8px;
}

/* =========================================================
   CART PAGE LAYOUT DESKTOP
========================================================= */

@media screen and (min-width: 990px){
  body.template-cart #MainContent{
    max-width: 1480px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
  }

  body.template-cart #MainContent > .shopify-section,
  body.template-cart #MainContent > .cart__footer-wrapper{
    min-width: 0;
    width: 100%;
  }

  body.template-cart #MainContent > .shopify-section .page-width,
  body.template-cart #MainContent > .cart__footer-wrapper .page-width{
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  body.template-cart #MainContent > .cart__footer-wrapper{
    align-self: start;
  }
}

/* =========================================================
   DRAWER CARRELLO - VERSIONE COMPATTA FOTO 1
========================================================= */

#CartDrawer .drawer__inner{
  width: min(100vw, 200px) !important;
  max-width: 200px !important;
  background: #fff !important;
  padding: 0 !important;
  border-left: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}

#CartDrawer .drawer__header,
#CartDrawer .cap-drawer__header{
  display: none !important;
}

#CartDrawer .drawer__close{
  box-shadow: none;
}

#CartDrawer .drawer__contents{
  padding: 0 !important;
  background: #fff !important;
}

#CartDrawer .cap-drawer__summary{
  position: relative;
  overflow: visible;
  padding: 12px 10px 12px !important;
  border-bottom: 1px solid #e7e7e7 !important;
  background: #fff !important;
}

#CartDrawer .cap-drawer__summary-row{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

#CartDrawer .cap-drawer__summary-label{
  font-size: 13px;
  color: #222;
}

#CartDrawer .cap-drawer__summary-price{
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  color: #c40000;
}

#CartDrawer .cap-drawer__view-cart{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #9f9f9f;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: .2s ease;
}

#CartDrawer .cap-drawer__view-cart:hover{
  background: #f6f6f6;
}

#CartDrawer .cap-drawer__items{
  padding: 0 !important;
  background: #fff !important;
  overflow-y: auto;
}

#CartDrawer .cap-drawer__item{
  padding: 14px 8px 16px !important;
  border-bottom: 1px solid #ececec !important;
  text-align: center;
  background: #fff !important;
}

#CartDrawer .cap-drawer__item-image{
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

#CartDrawer .cap-drawer__img{
  display: block;
  width: 90px !important;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

#CartDrawer .cap-drawer__item-title,
#CartDrawer .cap-drawer__item-variant{
  display: none !important;
}

#CartDrawer .cap-drawer__item-price{
  margin-bottom: 8px;
  font-size: 16px !important;
  line-height: 1.1;
  font-weight: 800;
  color: #111;
}

#CartDrawer .cap-drawer__item-stock{
  margin-bottom: 10px;
  font-size: 12px;
  color: #d40000;
}

#CartDrawer .cap-drawer__qty-wrap{
  width: fit-content;
  min-width: 98px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid #f0c400;
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff;
}

#CartDrawer .cap-drawer__trash{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  cursor: pointer;
}

#CartDrawer .cap-drawer__trash .svg-wrapper{
  width: 14px;
  height: 14px;
}

#CartDrawer .cap-drawer__qty-input{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  min-height: auto;
  min-width: auto;
  width: auto;
}

#CartDrawer .cap-drawer__minus,
#CartDrawer .cap-drawer__plus{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

#CartDrawer .cap-drawer__qty-number{
  width: 14px;
  min-width: 14px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  color: #111;
  appearance: textfield;
  pointer-events: none;
}

#CartDrawer .cap-drawer__qty-number::-webkit-outer-spin-button,
#CartDrawer .cap-drawer__qty-number::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

#CartDrawer .cart-item__error{
  margin-top: 8px;
  justify-content: center;
}

#CartDrawer .cap-drawer__summary::before{
  content: "";
  position: absolute;
  left: -8px;
  top: 136px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #fff;
  z-index: 3;
}

#CartDrawer .cap-drawer__qty-wrap-block{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#CartDrawer .cap-drawer__plus[disabled]{
  opacity: .35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

#CartDrawer .cap-drawer__qty-limit{
  margin: 8px 0 0 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: #c40000 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

/* =========================================================
   HEADER CART LINK
========================================================= */

.cap-cartlink{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}

.cap-cartlink__icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cap-cartlink__icon .svg-wrapper,
.cap-cartlink__icon svg{
  width: 24px;
  height: 24px;
  display: block;
}

.cap-cartlink__text{
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}


.cap-cartlink .cart-count-bubble{
  display: none !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 989px){
  body.template-cart #MainContent{
    display: block;
  }

  .cap-cart-layout{
    grid-template-columns: 1fr;
  }

  .cap-cart-summary-box{
    position: static;
    top: auto;
  }

  #main-cart-items .cart-item,
  .template-cart #main-cart-items .cart-item{
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  #main-cart-items .cart-item__media,
  .template-cart #main-cart-items .cart-item__media{
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #main-cart-items .cart-item__details,
  .template-cart #main-cart-items .cart-item__details{
    grid-column: 2;
    grid-row: 1;
  }

  #main-cart-items .cart-item__quantity,
  .template-cart #main-cart-items .cart-item__quantity{
    grid-column: 2;
    grid-row: 2;
  }

  #main-cart-items .cart-item__totals.small-hide,
  .template-cart #main-cart-items .cart-item__totals.small-hide{
    grid-column: 2;
    grid-row: 3;
    text-align: left;
  }

  #main-cart-items .cart-item__image-container,
  .template-cart #main-cart-items .cart-item__image-container{
    max-width: 110px;
  }

  .cap-cartlink{
    gap: 0;
  }

  .cap-cartlink__text{
    display: none;
  }

  .cap-cartlink__count{
    left: 10px;
  }
}


/* =========================================================
   OVERRIDE FINALE PAGINA CARRELLO - STILE FOTO 1
========================================================= */

/* sfondo generale pagina */
body.template-cart{
  background: #eef1f1 !important;
}

/* leva sfondi beige/gradient del tema */
body.template-cart cart-items,
body.template-cart #main-cart-footer,
body.template-cart .cart__footer-wrapper,
body.template-cart .shopify-section > .gradient,
body.template-cart .gradient.color-background-1,
body.template-cart .gradient.color-scheme-1{
  background: transparent !important;
}


/* layout principale */
body.template-cart .cap-cart-layout{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 305px !important;
  gap: 18px !important;
  align-items: start !important;
}

/* colonna sinistra */
body.template-cart .cap-cart-layout__items{
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  padding: 18px 20px !important;
}

/* titolo carrello */
body.template-cart .title-wrapper-with-link{
  margin-bottom: 18px !important;
}

body.template-cart .title.title--primary{
  font-size: 2.2rem !important;
  margin: 0 !important;
}

/* tabella prodotti */
body.template-cart #main-cart-items .cart-items,
body.template-cart #main-cart-items .cart-items tbody{
  display: block !important;
  width: 100% !important;
}

body.template-cart #main-cart-items .cart-items thead{
  display: table-header-group !important;
}

body.template-cart #main-cart-items .cart-item{
  display: grid !important;
  grid-template-columns: 165px minmax(0, 1fr) 125px !important;
  grid-template-rows: auto auto !important;
  column-gap: 22px !important;
  row-gap: 10px !important;
  align-items: start !important;
  padding: 26px 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: transparent !important;
}

body.template-cart #main-cart-items .cart-item__media{
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
}

body.template-cart #main-cart-items .cart-item__details{
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding-top: 0 !important;
}

body.template-cart #main-cart-items .cart-item__quantity{
  grid-column: 2 !important;
  grid-row: 2 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.template-cart #main-cart-items .cart-item__totals.small-hide{
  grid-column: 3 !important;
  grid-row: 1 !important;
  text-align: right !important;
  padding-top: 0 !important;
}

body.template-cart #main-cart-items .cart-item__totals.medium-hide.large-up-hide{
  display: none !important;
}

/* immagine prodotto */
body.template-cart #main-cart-items .cart-item__image-container{
  max-width: 160px !important;
  margin: 0 !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.template-cart #main-cart-items .cart-item__image{
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* nome e dettagli */
body.template-cart #main-cart-items .cart-item__name{
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 1.55rem !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #111 !important;
  text-decoration: none !important;
}

body.template-cart #main-cart-items .cart-item__details .product-option{
  font-size: 1.28rem !important;
  line-height: 1.45 !important;
  color: #222 !important;
}

/* disponibilità */
body.template-cart .cap-cart-item__availability{
  margin: 0 0 8px !important;
  font-size: 1.3rem !important;
  color: #067d00 !important;
}

body.template-cart .cap-cart-item__availability--low{
  color: #c40000 !important;
}

/* prezzo a destra */
body.template-cart #main-cart-items .cart-item__price-wrapper{
  display: flex !important;
  justify-content: flex-end !important;
}

body.template-cart #main-cart-items .cart-item__totals .price{
  font-size: 1.9rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* pill quantità stile foto 1 */
body.template-cart #main-cart-items .cart-item__quantity-wrapper{
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 6px 12px !important;
  border: 3px solid #f0c400 !important;
  border-radius: 999px !important;
  width: auto !important;
  background: #fff !important;
}

body.template-cart #main-cart-items .cart-item__quantity-wrapper cart-remove-button{
  display: inline-flex !important;
}

body.template-cart #main-cart-items .cart-item__quantity-wrapper cart-remove-button .button{
  min-width: auto !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
}

body.template-cart #main-cart-items .cart-quantity.quantity{
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: auto !important;
  min-width: auto !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.template-cart #main-cart-items .cart-quantity .quantity__button{
  min-width: auto !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
}

body.template-cart #main-cart-items .cart-quantity .quantity__input{
  width: 22px !important;
  min-width: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* box destra */
body.template-cart .cap-cart-layout__summary{
  min-width: 0 !important;
}

body.template-cart .cap-cart-summary-box{
  position: sticky !important;
  top: 20px !important;
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 0 !important;
  padding: 18px 18px 16px !important;
  box-shadow: none !important;
}

body.template-cart .cap-cart-summary-box__subtotal{
  display: block !important;
  margin-bottom: 12px !important;
}

body.template-cart .cap-cart-summary-box__subtotal span{
  display: inline !important;
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  color: #111 !important;
}

body.template-cart .cap-cart-summary-box__subtotal strong{
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  color: #111 !important;
}

body.template-cart .cap-cart-summary-box__gift{
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  font-size: 1.2rem !important;
  line-height: 1.4 !important;
  color: #111 !important;
}

body.template-cart .cap-cart-summary-box__button{
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  background: #f3c400 !important;
  color: #111 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* nasconde shop pay / paypal / gpay */
body.template-cart .cap-cart-summary-box__dynamic,
body.template-cart .cart__dynamic-checkout-buttons,
body.template-cart .additional-checkout-buttons,
body.template-cart .shopify-payment-button{
  display: none !important;
}

/* pulizia elementi che nella tua foto 1 non ci sono */
body.template-cart .cart__warnings{
  display: none !important;
}

/* mobile */
@media screen and (max-width: 989px){
  body.template-cart .cap-cart-layout{
    grid-template-columns: 1fr !important;
  }

  body.template-cart .cap-cart-summary-box{
    position: static !important;
    top: auto !important;
  }

  body.template-cart #main-cart-items .cart-item{
    grid-template-columns: 110px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
  }

  body.template-cart #main-cart-items .cart-item__media{
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  body.template-cart #main-cart-items .cart-item__details{
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.template-cart #main-cart-items .cart-item__quantity{
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  body.template-cart #main-cart-items .cart-item__totals.small-hide{
    grid-column: 2 !important;
    grid-row: 3 !important;
    text-align: left !important;
  }

  body.template-cart #main-cart-items .cart-item__image-container{
    max-width: 110px !important;
  }
}

/* =========================================================
   OVERRIDE FINALE CART PAGE - MARKUP DAWN REALE
========================================================= */

/* sfondo pagina */
body.template-cart{
  background: #eef1f1 !important;
}

/* layout 2 colonne */
@media screen and (min-width: 990px){
  body.template-cart #MainContent{
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 305px !important;
    gap: 18px !important;
    align-items: start !important;
  }

  body.template-cart #MainContent > .shopify-section{
    min-width: 0 !important;
    width: 100% !important;
  }

  body.template-cart #MainContent > .shopify-section .page-width{
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* leva sfondi tema */
body.template-cart cart-items.gradient,
body.template-cart #main-cart-footer.gradient,
body.template-cart .cart__footer-wrapper,
body.template-cart .shopify-section .gradient{
  background: transparent !important;
}

/* COLONNA SINISTRA */
body.template-cart cart-items .page-width{
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  padding: 18px 20px !important;
}

body.template-cart .title-wrapper-with-link{
  margin-bottom: 18px !important;
}

body.template-cart .title.title--primary{
  margin: 0 !important;
  font-size: 2.2rem !important;
}

/* righe prodotti */
body.template-cart #main-cart-items .cart-items{
  width: 100% !important;
}

body.template-cart #main-cart-items .cart-item{
  background: transparent !important;
  border-bottom: 1px solid #e5e5e5 !important;
  padding: 26px 0 !important;
}

body.template-cart #main-cart-items .cart-item__image-container{
  max-width: 160px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  background: #fff !important;
}

body.template-cart #main-cart-items .cart-item__name{
  font-size: 1.55rem !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #111 !important;
  text-decoration: none !important;
}

body.template-cart #main-cart-items .cart-item__details .product-option{
  font-size: 1.28rem !important;
  line-height: 1.45 !important;
  color: #222 !important;
}

body.template-cart #main-cart-items .cart-item__totals .price{
  font-size: 1.9rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* pill quantità */
body.template-cart #main-cart-items .cart-item__quantity-wrapper{
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 6px 12px !important;
  border: 3px solid #f0c400 !important;
  border-radius: 999px !important;
  width: auto !important;
  background: #fff !important;
}

body.template-cart #main-cart-items .cart-item__quantity-wrapper cart-remove-button .button{
  min-width: auto !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
}

body.template-cart #main-cart-items .cart-quantity.quantity{
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: auto !important;
  min-width: auto !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.template-cart #main-cart-items .cart-quantity .quantity__button{
  min-width: auto !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
}

body.template-cart #main-cart-items .cart-quantity .quantity__input{
  width: 22px !important;
  min-width: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* COLONNA DESTRA REALE: main-cart-footer */
body.template-cart #main-cart-footer{
  display: block !important;
  background: transparent !important;
}

body.template-cart #main-cart-footer .page-width{
  background: transparent !important;
}

body.template-cart #main-cart-footer .cart__footer{
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 0 !important;
  padding: 18px !important;
  position: sticky !important;
  top: 20px !important;
}

body.template-cart #main-cart-footer .cart__note{
  display: none !important;
}

/* totale come foto 1 */
body.template-cart #main-cart-footer .totals{
  display: block !important;
  margin-bottom: 12px !important;
}

body.template-cart #main-cart-footer .totals__total{
  display: inline !important;
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: #111 !important;
}

body.template-cart #main-cart-footer .totals__total-value{
  display: inline !important;
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* bottone checkout */
body.template-cart #main-cart-footer .cart__checkout-button{
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  background: #f3c400 !important;
  color: #111 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* nasconde shop pay / paypal / gpay */
body.template-cart #main-cart-footer .cart__dynamic-checkout-buttons,
body.template-cart #main-cart-footer .additional-checkout-buttons,
body.template-cart #main-cart-footer .shopify-payment-button{
  display: none !important;
}

/* nasconde note tasse/spedizione */

  display: none !important;
}

/* mobile */
@media screen and (max-width: 989px){
  body.template-cart #MainContent{
    display: block !important;
  }

  body.template-cart cart-items .page-width{
    padding: 16px !important;
  }

  body.template-cart #main-cart-footer .cart__footer{
    position: static !important;
    top: auto !important;
    margin-top: 16px !important;
  }
}

.cap-cartlink{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}

.cap-cartlink__icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cap-cartlink__icon .svg-wrapper,
.cap-cartlink__icon svg{
  width: 24px;
  height: 24px;
  display: block;
}

.cap-cartlink__text{
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}



/* =========================================================
   HEADER ACTIONS - ACCOUNT + CARRELLO
========================================================= */

.cap-actions{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.cap-iconbtn--account{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.cap-iconbtn--account .svg-wrapper,
.cap-iconbtn--account svg{
  width: 22px;
  height: 22px;
  display: block;
}

.cap-cartlink{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  line-height: 1;
  padding-right: 2px;
}

.cap-cartlink__icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cap-cartlink__icon .svg-wrapper,
.cap-cartlink__icon svg{
  width: 24px;
  height: 24px;
  display: block;
}

.cap-cartlink__text{
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}

.cap-cartlink__count{
  font-size: 13px;
  line-height: 1 !important;
  position: relative;
}


.cap-cartlink .cart-count-bubble{
  display: none !important;
}


@media screen and (max-width: 989px){
  .cap-actions{
    gap: 10px;
  }

  .cap-cartlink{
    gap: 0;
    padding-right: 0;
  }

  .cap-cartlink__text{
    display: none;
  }

  .cap-cartlink__count{
    left: 10px;
  }

  .cap-iconbtn--account .svg-wrapper,
  .cap-iconbtn--account svg{
    width: 21px;
    height: 21px;
  }

  .cap-cartlink__icon .svg-wrapper,
  .cap-cartlink__icon svg{
    width: 23px;
    height: 23px;
  }
}

.cap-cartlink{
  gap: 8px;
  width: auto;
  min-width: 44px;
  padding-right: 2px;
}

.cap-cartlink__text{
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}


#main-cart-items .cart-item__quantity-wrapper--single{
  gap: 10px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

#main-cart-items .cart-item__qty-remove-inline{
  display: inline-flex !important;
  align-items: center !important;
}

#main-cart-items .cart-item__qty-remove-btn{
  min-width: auto !important;
  min-height: auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#main-cart-items .cart-item__qty-remove-btn .svg-wrapper{
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#main-cart-items .cart-item__qty-remove-btn svg{
  width: 16px !important;
  height: 16px !important;
  display: block !important;
}

#main-cart-items .cart-item__quantity-wrapper--single .cart-quantity.quantity{
  gap: 12px !important;
}

#main-cart-items .cart-item__quantity-wrapper--single .quantity__input{
  width: 24px !important;
  min-width: 24px !important;
}

.drawer {
    visibility: hidden;
  }


  /* ===== refresh forzato pagina dopo update drawer ===== */

body.cap-cart-reloading{
  cursor: wait !important;
}

body.cap-cart-reloading #CartDrawer{
  pointer-events: none !important;
}

#CartDrawer .cap-drawer__reload{
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

#CartDrawer .cap-drawer__reload.is-active{
  display: flex;
}

#CartDrawer .cap-drawer__reload-box{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

#CartDrawer .cap-drawer__reload-spinner{
  width: 14px;
  height: 14px;
  border: 2px solid #d9d9d9;
  border-top-color: #111;
  border-radius: 50%;
  animation: capDrawerSpin .7s linear infinite;
}

@keyframes capDrawerSpin{
  to{ transform: rotate(360deg); }
}