  .item-type-badge{
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    display: inline-block;
    line-height: 1.6;
  }
  .item-type-badge.stock{ background:#f0f0f0; color:#333; }
  .item-type-badge.collections{ background:#f0f8ff; color:#0b3d91; }

  .cart-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px 100px;
  }
  .cart-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
  }
  .cart-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 8px;
  }
  .cart-header h1 {
    font-family: 'Freight', serif;
    font-size: 28px;
    font-weight: 400;
  }
  .cart-empty {
    text-align: center;
    padding: 80px 0;
    color: #aaa;
    font-size: 13px;
    letter-spacing: 1px;
  }
  .cart-empty a {
    display: inline-block;
    margin-top: 24px;
  }
  .cart-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  /* ── Wrapper immagine + bottone 360° ── */
  .cart-thumb-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  .cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: #f5f5f5;
    display: block;
  }

  /* ── Bottone 360° ── */
  .btn-360-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.72);
    color: #fff;
    border: none;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 0;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    /* Desktop: nascosto di default, appare su hover della .cart-item */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  /* Desktop hover: la .cart-item in hover mostra il bottone */
  @media (hover: hover) {
    .cart-item:hover .btn-360-cart {
      opacity: 1;
      pointer-events: auto;
    }
  }
  /* Mobile (touch): sempre visibile */
  @media (hover: none) {
    .btn-360-cart {
      opacity: 1;
      pointer-events: auto;
    }
  }

  .cart-item-info { flex: 1; }
  .cart-item-brand {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
  }
  .cart-item-sku {
    font-family: 'Freight', serif;
    font-size: 15px;
    color: #111;
    margin-bottom: 4px;
  }
  .cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .qty-btn {
    width: 28px; height: 28px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }
  .qty-btn:hover { background: #111; color: #fff; border-color: #111; }
  .qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
  .qty-value {
    font-size: 14px;
    min-width: 24px;
    text-align: center;
  }
  .cart-item-price {
    font-size: 13px;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
    color: #111;
  }
  .cart-item-remove {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
  }
  .cart-item-remove:hover { color: #111; }
  .cart-total {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    margin-top: 8px;
  }
  .cart-total-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
  }
  .cart-total-value {
    font-family: 'Freight', serif;
    font-size: 22px;
    font-weight: 400;
    color: #111;
  }
  .cart-footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
  }
  .cart-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .yearly-counter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .yearly-counter-label {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
  }
  .yearly-counter-value {
    font-family: 'Freight', serif;
    font-size: 18px;
    font-weight: 400;
    color: #111;
  }
  .yearly-counter-value.limit-reached { color: #cc0000; }

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    .cart-wrapper { padding: 0 16px 90px; }

    .cart-item {
      display: grid;
      grid-template-columns: 80px 1fr;
      grid-template-areas:
        "img  info"
        "img  qty"
        "price price"
        "remove remove";
      gap: 12px;
      align-items: start;
      padding: 16px 0;
    }

    .cart-thumb-wrap {
      grid-area: img;
      border-radius: 10px;
      overflow: hidden;  /* arrotonda anche l'img */
    }
    .cart-item-img    { border-radius: 0; } /* gestito dal wrapper */
    .cart-item-info   { grid-area: info;   min-width: 0; }
    .cart-item-qty    { grid-area: qty;    justify-content: flex-start; }

    .cart-item-price {
      grid-area: price;
      min-width: 0;
      text-align: left;
      font-size: 14px;
    }

    .cart-item-remove {
      grid-area: remove;
      width: 100%;
      height: 42px;
      border-radius: 12px;
      border: 1px solid #111;
      background: #fff;
      color: #111;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .qty-btn {
      width: 40px;
      height: 40px;
      border-radius: 10px;
    }
  }

  body { overflow-x: hidden; }