/* Hofstra cart — floating button, drawer, and cart-page styles */

#hc-fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 99998;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25295f; color: #fff; border: none; cursor: pointer;
    font-size: 26px; line-height: 1;
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
}
#hc-fab:hover { background: #1b1e47; }
#hc-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 22px; height: 22px; padding: 0 5px;
    background: #e6b012; color: #1a1a1a; font-weight: 700; font-size: 12px;
    border-radius: 11px; display: none; align-items: center; justify-content: center;
    font-family: 'Open Sans', Arial, sans-serif;
}

#hc-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 99998;
}
#hc-overlay.hc-open { opacity: 1; pointer-events: auto; }

#hc-drawer {
    position: fixed; top: 0; right: -380px; width: 360px; max-width: 92vw; height: 100%;
    background: #fff; z-index: 99999; transition: right .25s ease;
    display: flex; flex-direction: column;
    font-family: 'Open Sans', Arial, sans-serif;
    box-shadow: -4px 0 20px rgba(0,0,0,.2);
}
#hc-drawer.hc-open { right: 0; }
#hc-drawer-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; background: #25295f; color: #fff; font-size: 18px; font-weight: 600;
}
#hc-close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
#hc-drawer-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.hc-empty { color: #777; text-align: center; margin-top: 32px; font-size: 14px; }
.hc-row { border-bottom: 1px solid #eee; padding: 12px 0; }
.hc-row-name { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; }
.hc-row-ctl { display: flex; align-items: center; gap: 10px; }
.hc-qty { width: 54px; padding: 4px 6px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; }
.hc-row-price { margin-left: auto; font-weight: 700; font-size: 14px; }
.hc-remove {
    background: none; border: none; color: #b3b3b3; font-size: 20px; cursor: pointer; line-height: 1;
}
.hc-remove:hover { color: #d33; }
#hc-drawer-foot { border-top: 1px solid #eee; padding: 16px 20px; }
#hc-subtotal-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 12px; }
#hc-checkout-btn {
    display: block; text-align: center; background: #e6b012; color: #1a1a1a;
    font-weight: 700; font-size: 15px; text-decoration: none;
    padding: 12px; border-radius: 6px;
}
#hc-checkout-btn:hover { background: #d4a20e; color: #1a1a1a; }

.hc-add-btn {
    display: inline-block; margin: 6px 0 0 8px; padding: 10px 18px;
    background: #e6b012; color: #1a1a1a; border: none; border-radius: 4px;
    font-weight: 700; font-size: 14px; cursor: pointer;
    font-family: 'Open Sans', Arial, sans-serif; vertical-align: middle;
}
.hc-add-btn:hover { background: #d4a20e; }

/* ---- cart.php page ---- */
.hc-page { max-width: 860px; margin: 40px auto; padding: 0 16px; font-family: 'Open Sans', Arial, sans-serif; }
.hc-page h1 { font-size: 26px; color: #25295f; }
.hc-group { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 24px; overflow: hidden; }
.hc-group-head { background: #f7f8fa; padding: 12px 20px; font-size: 13px; color: #555; border-bottom: 1px solid #e5e5e5; }
.hc-page .hc-row { padding: 14px 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #eee; }
.hc-page .hc-row-name { flex: 1; margin: 0; font-size: 14px; }
.hc-page .hc-row-strike { color: #999; text-decoration: line-through; font-size: 13px; }
.hc-group-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.hc-group-total { font-size: 16px; font-weight: 700; }
.hc-pay-btn {
    background: #25295f; color: #fff; border: none; border-radius: 6px;
    padding: 12px 28px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.hc-pay-btn:hover { background: #1b1e47; }
.hc-pay-btn[disabled] { opacity: .6; cursor: wait; }
.hc-note { font-size: 13px; color: #856404; background: #fff3cd; border: 1px solid #ffeeba; border-radius: 6px; padding: 10px 14px; margin-bottom: 20px; }
.hc-page-empty { text-align: center; color: #666; padding: 60px 0; }
.hc-error { color: #c0392b; font-size: 14px; margin-top: 10px; display: none; }
