/* Mini-cart dropdown */

.cart-dropdown {
    position: absolute;
    right: 0;
    top: 2.5rem;
    width: 300px;
    max-height: 400px;
    background: var(--section);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    padding: 1rem;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 200;
  }
  
  .cart-dropdown.open {
    display: flex;
  }
  
  .cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
  }
  
  .cart-items .ci-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem;
  }
  
  .ci-left {
    display: flex;
    align-items: center;
    gap: .5rem;
  }
  
  .ci-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .ci-name {
    font-size: .9rem;
    margin-bottom: .2rem;
  }
  
  .ci-qty {
    font-size: .8rem;
    color: var(--muted);
  }
  
  .ci-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .25rem;
  }
  
  .ci-cost {
    font-size: .9rem;
    font-weight: bold;
    color: var(--accent);
  }
  
  .ci-remove {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .2s;
  }
  
  .ci-remove:hover {
    color: var(--accent);
  }
  
  .cart-total {
    border-top: 1px solid #333;
    padding-top: .75rem;
    margin-top: .75rem;
    text-align: right;
    font-weight: bold;
    font-size: 1rem;
  }
  
  .btn--checkout {
    margin-top: .75rem;
    width: 100%;
    padding: .5rem;
    font-size: .9rem;
  }
  