.cart-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 18px 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #edf0ea;
    position: relative;
  }
  .cart-header-back {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f3f6ef;
    color: #182219;
  }
  .cart-header h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #152017;
  }
  .cart-edit {
    position: absolute;
    right: 18px;
    font-size: 14px;
    color: #617061;
    background: none;
    border: none;
    cursor: pointer;
  }
  .cart-banner {
    background: #fcfcfc;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 20px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cart-banner-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #2a6931;
    color: #2a6931;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    flex-shrink: 0;
  }
  .cart-banner-text {
    font-size: 13px;
    color: #333;
  }
  .cart-banner-arrow {
    margin-left: auto;
    color: #2a6931;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .cart-banner-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
  }
  .cart-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .cart-check.on {
    background: #2a6931;
    border-color: #2a6931;
  }
  .cart-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f9f9f9;
    flex-shrink: 0;
    cursor: pointer;
  }
  .cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cart-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 80px;
  }
  .cart-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
  }
  .cart-price {
    font-size: 13px;
    color: #111;
  }
  .cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #eee;
    width: 90px;
    height: 32px;
    align-self: flex-end;
    margin-top: -30px;
  }
  .cart-qty button {
    width: 30px;
    height: 100%;
    border: none;
    background: #fff;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart-qty span {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #111;
  }
  .cart-bottom {
    position: fixed;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 21;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  .cart-bottom-inner {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 12px;
    margin-bottom: 10px;
  }
  .cart-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    flex-shrink: 0;
    cursor: pointer;
  }
  .cart-total-wrap {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 10px;
  }
  .cart-total-top {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
  }
  .cart-total-price {
    font-size: 13px;
    color: #111;
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .cart-total-price strong {
    font-size: 18px;
  }
  .cart-btn-settle {
  
    width: 106px;
    height: 40px;
    border-radius: 999px;
    background: #2a6931;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body { background: #fff; }



/* --- Refined Interactions --- */

.cart-btn-settle {
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.cart-btn-settle:hover {
  background: #1e4f24;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 105, 49, 0.18);
}
.cart-btn-settle:active {
  transform: translateY(0) scale(0.985);
  box-shadow: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.cart-item {
  transition: transform 0.2s ease, background 0.2s ease;
}
.cart-item:hover {
  background: #fdfdfd;
}
