/* ── Cart special pricing ─────────────────────────────────────────── */
.gr-cart-special-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.gr-cart-special-badge {
    display: inline-block;
    background: #e8001c;
    color: #fff !important;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
}
.gr-cart-standard-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}
.gr-cart-special-price {
    color: #e8001c;
    font-weight: 600;
}

/* ── Checkout page ────────────────────────────────────────────────── */
.gr-checkout-container { max-width: 1100px; margin: 0 auto; padding: 20px 15px; }

.gr-address-list { display: flex; flex-direction: column; gap: 10px; }
.gr-address-option {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 6px;
    cursor: pointer; margin: 0; transition: border-color 0.15s;
}
.gr-address-option.selected { border-color: #e8001c; }
.gr-address-option input[type="radio"] { margin-top: 3px; accent-color: #e8001c; flex-shrink: 0; }
.gr-address-display { flex: 1; }

.gr-checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.gr-checkbox-label input { accent-color: #e8001c; width: 16px; height: 16px; }

.gr-payment-options { display: flex; flex-direction: column; gap: 10px; }
.gr-payment-option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 15px; border: 1px solid #e0e0e0; border-radius: 6px;
    cursor: pointer; margin: 0; font-size: 1rem; transition: border-color 0.15s;
}
.gr-payment-option.selected { border-color: #e8001c; background: #fff8f8; }
.gr-payment-option input[type="radio"] { accent-color: #e8001c; width: 16px; height: 16px; }
.gr-payment-icon { font-size: 1.3rem; }

.gr-bank-details { background: #f8f9fa; border-radius: 6px; padding: 15px; }
.gr-bank-details table { margin-bottom: 10px; }

.gr-place-order-btn {
    background: #e8001c; border-color: #e8001c; color: #fff;
    font-size: 1.1rem; padding: 12px; border-radius: 6px;
}
.gr-place-order-btn:hover { background: #c40018; border-color: #c40018; color: #fff; }

.gr-payment-message { color: #e8001c; margin-top: 10px; font-size: 0.9rem; }

.gr-confirmation { max-width: 500px; margin: 40px auto; }
.gr-confirmation-icon {
    width: 60px; height: 60px; background: #28a745; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto;
}

/* ── Item group tree (shared) ─────────────────────────────────── */
.gr-tree-children         { display: none; }
.gr-tree-children--open   { display: block; }
.gr-tree-row {
    display: flex;
    align-items: center;
    padding: 6px 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s;
}
.gr-tree-row:hover { background: #fff0f0; color: #e8001c; }
.gr-tree-row--active { background: #fff0f0; color: #e8001c; font-weight: 600; }
.gr-tree-arrow { width: 16px; flex-shrink: 0; font-size: 0.6rem; color: #999; }
.gr-tree-label { flex: 1; font-size: 0.9rem; }
.gr-tree-count { font-size: 0.75rem; color: #999; margin-left: 4px; }

/* ── Brand filter ─────────────────────────────────────────────── */
.gr-brand-show-more {
    display: block;
    font-size: 0.8rem;
    color: #e8001c;
    margin-top: 8px;
    text-decoration: none;
}
.gr-brand-show-more:hover { text-decoration: underline; }

.gr-brand-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.15s;
    margin-right: 8px;
}
.gr-brand-cb-none { background: #fff; border-color: #ccc; }
.gr-brand-cb-include {
    background: #222;
    border-color: #222;
    color: #fff;
}
.gr-brand-cb-include::after { content: '✓'; }
.gr-brand-cb-exclude {
    background: #e8001c;
    border-color: #e8001c;
    color: #fff;
}
.gr-brand-cb-exclude::after { content: '—'; }

/* ── Brand modal ──────────────────────────────────────────────── */
.gr-brand-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gr-brand-modal {
    background: #fff;
    border-radius: 8px;
    width: 480px;
    max-width: 95vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.gr-brand-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.gr-brand-modal-header h5 { margin: 0; }
.gr-brand-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
}
.gr-brand-modal-body {
    overflow-y: auto;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── Brand filter labels ──────────────────────────────────────── */
.gr-filter-check {
    display: flex;
    align-items: center;
    padding: 5px 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.1s;
    user-select: none;
}
.gr-filter-check:hover { background: #f5f5f5; }
.gr-filter-check-label {
    flex: 1;
    font-size: 0.85rem;
    color: #333;
}
.gr-filter-check-count {
    font-size: 0.75rem;
    color: #999;
    margin-left: 4px;
}

/* ── Brand list container ─────────────────────────────────────── */
.gr-brand-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.gr-brand-modal-body .gr-filter-check,
.gr-brand-list .gr-filter-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

/* ── Widen Bootstrap container to use more screen ──────────────── */
.page-content-wrapper > main.container,
body > .page-content-wrapper > main.container {
    max-width: 1600px;
    width: 96%;
    padding-left: 16px;
    padding-right: 16px;
}

/* ── Override Bootstrap container to use full screen width ─────── */
.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ── Cart stock status messages ─────────────────────────────── */
.gr-cart-stock-message {
    font-size: 0.72rem;
    font-weight: 700;
    color: #c0392b;
    padding: 0.3rem 0.6rem;
    line-height: 1.4;
    display: block;
    width: 100%;
    background: #fff5f5;
    border: 1px solid #e0a0a0;
    border-radius: 3px;
    margin: 0.4rem 0;
    box-sizing: border-box;
}

.gr-cart-stock-supplier,
.gr-cart-stock-order {
    color: #c0392b;
    background: #fff5f5;
    border-color: #e0a0a0;
}

/* v1776734345 */
