/* ============================================================
   VHS Warenkorb – Cart Styles
   ============================================================ */

/* ---- Cart Icon Button (Header) ---- */
.vhs-cart-btn {
    position: relative;
    background: none;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    color: #323232;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.15s;
}

.vhs-cart-btn:hover,
.vhs-cart-btn:focus {
    color: #000;
    outline: none;
}

.vhs-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #000;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.vhs-cart-badge--visible {
    opacity: 1;
    transform: scale(1);
}

/* ---- "In den Warenkorb" Button ---- */
.vhs-btn-addtocart {
    background: #000;
    color: #fff;
    border: none;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.vhs-btn-addtocart:hover {
    background: #333;
}

.vhs-btn-addtocart.vhs-btn-incart {
    background: #273E34;
}

.vhs-btn-addtocart.vhs-btn-incart:hover {
    background: #273E34;
}

/* ---- Offcanvas Cart Panel ---- */
#vhsCart {
    width: 420px;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
}

#vhsCart .offcanvas-header {
    border-bottom: 1px solid #ececec;
    padding: 20px 24px;
    flex-shrink: 0;
}

#vhsCart .offcanvas-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #323232;
}

#vhsCart .offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* ---- Cart Empty State ---- */
.vhs-cart-empty {
    padding: 48px 24px;
    text-align: center;
    font-size: 1rem;
    margin: 0;
}

/* ---- Cart Items ---- */
.vhs-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.vhs-cart-item:hover {
    background: #fafafa;
}

.vhs-cart-item-body {
    flex: 1;
    min-width: 0;
}

.vhs-cart-item-title {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
    color: #323232;
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.4;
}

.vhs-cart-item-title:hover {
    color: #DC2C76;
    text-decoration: underline;
}

.vhs-cart-item-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.95rem;
}

.vhs-cart-remove {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.375rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: color 0.15s;
}

.vhs-cart-remove:hover {
    color: #DC2C76;
}

/* ---- Cart Footer ---- */
#vhs-cart-footer {
    border-top: 1px solid #ececec;
    background: #fff;
    flex-shrink: 0;
}

.vhs-cart-footer-inner {
    padding: 20px 24px 24px;
}



.vhs-cart-hint {
    margin: 10px 0 0;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.4;
}

/* ---- Ausgebucht indicator ---- */
.available.red {
    background: #dc3545;
}
