/* Spazio Casa — compact desktop cart preview aligned with the checkout UI. */
@media (min-width: 768px) {
  .shopping_cart #cart_block.sc-mini-cart-v2-ready {
    right: 0;
    left: auto;
    width: 370px;
    max-width: calc(100vw - 24px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e4e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(25, 32, 40, .16);
  }

  .shopping_cart #cart_block.sc-mini-cart-v2-ready .block_content {
    padding: 16px;
    background: #fff;
  }

  .shopping_cart #cart_block .sc-mini-cart-v2-title {
    margin: 0 0 10px;
    color: #202428;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
  }

  .shopping_cart #cart_block .products {
    margin: 0;
    padding: 0 0 8px;
    border-bottom: 1px solid #edf0f2;
  }

  .shopping_cart #cart_block .products dt {
    position: relative;
    display: grid;
    min-height: 86px;
    grid-template-columns: 64px minmax(0, 1fr) 22px;
    grid-template-areas:
      "image title remove"
      "image attrs attrs"
      "image price price";
    gap: 3px 10px;
    align-items: start;
    margin: 0;
    padding: 10px 0;
    border: 0;
    background: transparent;
  }

  .shopping_cart #cart_block .products dt:first-child {
    border-top: 0;
  }

  .shopping_cart #cart_block .cart-images {
    grid-area: image;
    align-self: start;
    float: none;
    width: 64px;
    height: 64px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e5e8eb;
    border-radius: 9px;
    background: #fff;
  }

  .shopping_cart #cart_block .cart-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .shopping_cart #cart_block .quantity-formated {
    position: absolute;
    top: 11px;
    left: 74px;
    float: none;
    color: #6c737a;
    font-size: 12px;
    font-weight: 700;
  }

  .shopping_cart #cart_block .cart_block_product_name {
    grid-area: title;
    display: block;
    min-width: 0;
    padding-left: 20px;
    overflow: hidden;
    color: #292e33;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shopping_cart #cart_block .remove_link {
    grid-area: remove;
    position: static;
    align-self: start;
    justify-self: end;
    float: none;
  }

  .shopping_cart #cart_block .remove_link a {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #6f767d;
  }

  .shopping_cart #cart_block .product-atributes {
    grid-area: attrs;
    min-width: 0;
    margin: 0;
    color: #727981;
    font-size: 12px;
    line-height: 1.35;
  }

  .shopping_cart #cart_block .product-atributes a {
    display: block;
    overflow: hidden;
    color: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shopping_cart #cart_block .products dt > .price {
    grid-area: price;
    float: none;
    justify-self: end;
    color: #202428;
    font-size: 14px;
    font-weight: 750;
  }

  .shopping_cart #cart_block .products dd {
    display: none;
  }

  .shopping_cart #cart_block .vouchers {
    width: 100%;
    margin: 8px 0 0;
    border-radius: 8px;
    background: #f7f8f9;
    color: #4e555c;
    font-size: 12px;
  }

  .shopping_cart #cart_block .vouchers td {
    padding: 7px 6px;
    border: 0;
  }

  .shopping_cart #cart_block .cart-prices {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .shopping_cart #cart_block .cart-prices-line {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border: 0;
    color: #5d646b;
    font-size: 13px;
  }

  .shopping_cart #cart_block .cart-prices-line.last-line {
    color: #202428;
    font-size: 15px;
    font-weight: 750;
  }

  .shopping_cart #cart_block .cart-prices-line .price {
    order: 2;
    float: none;
    color: inherit;
    font-weight: inherit;
  }

  .shopping_cart #cart_block .cart-buttons {
    margin: 12px 0 0;
    padding: 0;
  }

  .shopping_cart #cart_block #button_order_cart {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border: 1px solid #dc342f;
    border-radius: 9px;
    background: #dc342f;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
  }

  .shopping_cart #cart_block #button_order_cart:hover {
    border-color: #bd2723;
    background: #bd2723;
    color: #fff;
  }

  .shopping_cart #cart_block .sc-mini-cart-v2-reassurance {
    margin: 9px 0 0;
    color: #70777e;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }
}
