/* JB Infra Werkkleding Shop – Front-end Styles v1.4.0 */

:root {
    --jbi-green: #4CAF50;
    --jbi-green-hover: #43A047;
    --jbi-green-light: rgba(76, 175, 80, 0.12);
    --jbi-navy: #1A2A3A;
    --jbi-navy-light: #243546;
    --jbi-bg: #F0F2F5;
    --jbi-white: #FFFFFF;
    --jbi-text: #1A2A3A;
    --jbi-text-muted: #5F7082;
    --jbi-border: rgba(0, 0, 0, 0.1);
    --jbi-shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --jbi-shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
    --jbi-shadow-lg: 0 10px 30px rgba(0,0,0,.15);
    --jbi-radius-outer: 10px;
    --jbi-radius-inner: 6px;
    --jbi-easing: cubic-bezier(0.25, 0.1, 0.25, 1);
    --jbi-font: 'Ubuntu', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.jbi-shop {
    font-family: var(--jbi-font);
    color: var(--jbi-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 160px;
    line-height: 1.5;
}
.jbi-shop * { box-sizing: border-box; }

/* Ensure hidden panels never block clicks (theme-safe) */
.jbi-shop .jbi-summary[hidden],
.jbi-shop .jbi-success[hidden] {
    display: none !important;
    pointer-events: none !important;
}
.jbi-shop .jbi-summary:not([hidden]),
.jbi-shop .jbi-success:not([hidden]) {
    pointer-events: auto;
}

/* ========================
   LOGIN FORM
   ======================== */
.jbi-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 40px 20px;
}
.jbi-login-card {
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    box-shadow: var(--jbi-shadow-md);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    border-top: 4px solid var(--jbi-green);
}
.jbi-login-header {
    text-align: center;
    margin-bottom: 24px;
}
.jbi-login-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--jbi-navy);
    margin: 0 0 8px;
}
.jbi-login-header p {
    color: var(--jbi-text-muted);
    font-size: 14px;
    margin: 0;
}

/* Login tabs */
.jbi-login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 2px solid var(--jbi-border);
    border-radius: var(--jbi-radius-inner);
    overflow: hidden;
}
.jbi-login-tab {
    flex: 1;
    font-family: var(--jbi-font);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border: none;
    background: var(--jbi-white);
    color: var(--jbi-text-muted);
    cursor: pointer;
    transition: all 150ms;
}
.jbi-login-tab.active {
    background: var(--jbi-navy);
    color: var(--jbi-white);
}
.jbi-login-tab:hover:not(.active) {
    color: var(--jbi-green);
}

/* Login panels */
.jbi-login-panel {
    display: none;
}
.jbi-login-panel.active {
    display: block;
}

.jbi-login-message {
    font-size: 13px;
    padding: 0;
    margin: 8px 0;
    border-radius: var(--jbi-radius-inner);
    min-height: 20px;
}
.jbi-msg-success {
    color: var(--jbi-green);
    padding: 10px 14px;
    background: var(--jbi-green-light);
}
.jbi-msg-error {
    color: #cc0000;
    padding: 10px 14px;
    background: rgba(204, 0, 0, 0.08);
}
.jbi-login-forgot {
    text-align: center;
    margin: 16px 0 0;
}
.jbi-login-forgot a {
    color: var(--jbi-text-muted);
    font-size: 13px;
    text-decoration: underline;
}
.jbi-login-forgot a:hover {
    color: var(--jbi-green);
}
.jbi-magic-info {
    font-size: 13px;
    color: var(--jbi-text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

/* ========================
   USER BAR
   ======================== */
.jbi-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    box-shadow: var(--jbi-shadow-sm);
    margin-bottom: 24px;
    border: 1px solid var(--jbi-border);
    flex-wrap: wrap;
    gap: 12px;
}
.jbi-user-greeting {
    font-size: 14px;
    color: var(--jbi-text-muted);
}
.jbi-user-greeting strong {
    color: var(--jbi-navy);
}
.jbi-user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* View tabs */
.jbi-tab-btn {
    font-family: var(--jbi-font);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border: 2px solid var(--jbi-border);
    border-radius: var(--jbi-radius-inner);
    background: var(--jbi-white);
    color: var(--jbi-navy);
    cursor: pointer;
    transition: all 150ms;
}
.jbi-tab-btn.active {
    background: var(--jbi-navy);
    border-color: var(--jbi-navy);
    color: var(--jbi-white);
}
.jbi-tab-btn:hover:not(.active) {
    border-color: var(--jbi-green);
    color: var(--jbi-green);
}

.jbi-logout-link {
    font-size: 13px;
    color: var(--jbi-text-muted) !important;
    text-decoration: none !important;
    padding: 8px 12px;
    transition: color 150ms;
}
.jbi-logout-link:hover {
    color: #cc0000 !important;
}

/* Views */
.jbi-view {
    display: none;
}
.jbi-view.active {
    display: block;
}

/* ========================
   SHOP (existing styles)
   ======================== */

/* Header */
.jbi-shop-header {
    margin-bottom: 24px;
}
.jbi-intro {
    color: var(--jbi-text-muted);
    font-size: 15px;
    margin: 0;
}

/* Filters */
.jbi-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.jbi-filter-btn {
    font-family: var(--jbi-font);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid var(--jbi-border);
    border-radius: 6px;
    background: var(--jbi-white);
    color: var(--jbi-navy);
    cursor: pointer;
    transition: all 150ms var(--jbi-easing);
}
.jbi-filter-btn:hover,
.jbinfra-shop .jbi-filter-btn:hover {
    border-color: var(--jbi-green) !important;
    color: var(--jbi-green) !important;
    background: var(--jbi-white) !important;
    text-decoration: none !important;
}
.jbi-filter-btn.active {
    background: var(--jbi-navy);
    border-color: var(--jbi-navy);
    color: var(--jbi-white);
}

/* Grid */
.jbi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .jbi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .jbi-grid { grid-template-columns: 1fr; } }

/* Card */
.jbi-card {
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    box-shadow: var(--jbi-shadow-sm);
    overflow: hidden;
    transition: all 200ms var(--jbi-easing);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--jbi-border);
}
.jbi-card:hover {
    box-shadow: var(--jbi-shadow-md);
    transform: translateY(-3px);
    border-color: var(--jbi-green);
}
.jbi-card.jbi-hidden { display: none; }

.jbi-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--jbi-white);
}
.jbi-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.jbi-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.jbi-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--jbi-navy);
}

.jbi-description {
    font-size: 13px;
    color: var(--jbi-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Badge */
.jbi-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--jbi-green-light);
    color: var(--jbi-green);
    width: fit-content;
}

/* Controls */
.jbi-controls {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.jbi-select-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.jbi-qty-wrapper {
    width: 72px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.jbi-select-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--jbi-text-muted);
}

.jbi-select, .jbi-input {
    font-family: var(--jbi-font);
    font-size: 14px;
    padding: 10px 12px;
    border: 2px solid var(--jbi-border);
    border-radius: var(--jbi-radius-inner);
    background: var(--jbi-white);
    color: var(--jbi-text);
    outline: none;
    transition: border-color 150ms var(--jbi-easing);
}
.jbi-select:focus, .jbi-input:focus {
    border-color: var(--jbi-green);
}
.jbi-select { width: 100%; }
.jbi-qty-input { width: 100%; text-align: center; font-variant-numeric: tabular-nums; }

/* Buttons */
.jbi-btn-primary {
    font-family: var(--jbi-font);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    border: none;
    border-radius: var(--jbi-radius-inner);
    background: var(--jbi-green);
    color: var(--jbi-white);
    cursor: pointer;
    transition: all 150ms var(--jbi-easing);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.jbi-btn-primary:hover { background: var(--jbi-green-hover); }
.jbi-btn-primary:active,
.jbi-btn-primary:focus {
    background: var(--jbi-green-hover) !important;
    color: var(--jbi-white) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}
.jbi-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Summary Panel */
.jbi-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--jbi-white);
    box-shadow: 0 -4px 24px rgba(0,0,0,.15);
    border-top: 3px solid var(--jbi-green);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: auto;
}
.jbi-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    border-bottom: 1px solid var(--jbi-border);
    position: sticky;
    top: 0;
    background: var(--jbi-white);
    z-index: 1;
}
.jbi-summary-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jbi-navy);
}
.jbi-summary-title-text {
    cursor: pointer;
}
.jbi-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--jbi-green);
    color: var(--jbi-white);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.jbi-summary-toggle,
.jbinfra-shop .jbi-summary-toggle {
    background: none !important;
    border: none !important;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--jbi-green) !important;
    transition: transform 150ms var(--jbi-easing);
}
.jbi-summary-toggle.collapsed { transform: rotate(180deg); }

.jbi-summary-body {
    padding: 0 24px 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Summary Table */
.jbi-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.jbi-summary-table th {
    text-align: left;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid var(--jbi-navy);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jbi-navy);
    background: var(--jbi-bg);
}
.jbi-summary-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--jbi-border);
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
}
.jbi-summary-table tbody tr:hover {
    background: var(--jbi-bg);
}
.jbi-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #cc0000;
    font-size: 18px;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: background 150ms;
}
.jbi-remove-btn:hover {
    background: rgba(204, 0, 0, 0.1);
}

/* Form */
.jbi-order-form h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 16px;
    color: var(--jbi-navy);
}
.jbi-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) { .jbi-form-grid { grid-template-columns: 1fr; } }

.jbi-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.jbi-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--jbi-navy);
}
.jbi-form-field .jbi-input { width: 100%; }
.jbi-form-field textarea.jbi-input { resize: vertical; }

.jbi-btn-submit {
    max-width: 320px;
    margin-top: 12px;
    font-size: 15px;
    padding: 14px 28px;
}

/* Success */
.jbi-success {
    position: fixed;
    inset: 0;
    background: rgba(26, 42, 58, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.jbi-success-inner {
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    padding: 48px;
    text-align: center;
    box-shadow: var(--jbi-shadow-lg);
    max-width: 420px;
    border-top: 4px solid var(--jbi-green);
}
.jbi-success-inner svg {
    color: var(--jbi-green);
    margin-bottom: 16px;
}
.jbi-success-inner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--jbi-navy);
}
.jbi-success-inner p {
    color: var(--jbi-text-muted);
    margin: 0;
}

/* Closed message */
.jbi-closed {
    font-family: var(--jbi-font);
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    padding: 48px;
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    box-shadow: var(--jbi-shadow-md);
    font-size: 16px;
    color: var(--jbi-navy);
    border-top: 4px solid var(--jbi-green);
}

/* One size label */
.jbi-onesize-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--jbi-navy);
    padding: 10px 12px;
    border: 2px solid var(--jbi-border);
    border-radius: var(--jbi-radius-inner);
    background: var(--jbi-bg);
    display: block;
}

/* ========================
   TOAST NOTIFICATION
   ======================== */
.jbi-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--jbi-navy);
    color: var(--jbi-white);
    padding: 12px 24px;
    border-radius: var(--jbi-radius-inner);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--jbi-font);
    box-shadow: var(--jbi-shadow-lg);
    z-index: 10001;
    opacity: 0;
    transition: opacity 300ms var(--jbi-easing), transform 300ms var(--jbi-easing);
    pointer-events: none;
}
.jbi-toast[hidden] {
    display: block !important;
    opacity: 0;
    pointer-events: none;
}
.jbi-toast.jbi-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========================
   ORDER HISTORY
   ======================== */
.jbi-history-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--jbi-navy);
    margin: 0 0 20px;
}
.jbi-history-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    box-shadow: var(--jbi-shadow-sm);
    color: var(--jbi-text-muted);
}
.jbi-history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.jbi-history-card {
    background: var(--jbi-white);
    border-radius: var(--jbi-radius-outer);
    box-shadow: var(--jbi-shadow-sm);
    border: 1px solid var(--jbi-border);
    overflow: hidden;
}
.jbi-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--jbi-bg);
    border-bottom: 1px solid var(--jbi-border);
    flex-wrap: wrap;
    gap: 8px;
}
.jbi-history-date {
    font-weight: 600;
    color: var(--jbi-navy);
    font-size: 14px;
}
.jbi-history-id {
    color: var(--jbi-text-muted);
    font-size: 13px;
    margin-left: 8px;
}
.jbi-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 4px;
}
.jbi-status--nieuw {
    background: rgba(33, 150, 243, 0.12);
    color: #1976D2;
}
.jbi-status--in-behandeling {
    background: rgba(255, 152, 0, 0.12);
    color: #E65100;
}
.jbi-status--verwerkt {
    background: var(--jbi-green-light);
    color: var(--jbi-green);
}
.jbi-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.jbi-history-table th {
    text-align: left;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--jbi-text-muted);
    border-bottom: 1px solid var(--jbi-border);
}
.jbi-history-table td {
    padding: 10px 20px;
    border-bottom: 1px solid var(--jbi-border);
}
.jbi-history-notes {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--jbi-text-muted);
    background: var(--jbi-bg);
}

/* ========================
   ELEMENTOR FULL OVERRIDE
   ========================
   Use .jbinfra-shop wrapper + extremely high specificity
   to override any Elementor / theme button colors on ALL states.
   Elementor uses: [type=button]:hover { background-color: #c36; color: #fff; }
   We override with our brand green using !important. */

/* Reset text decoration on all buttons */
.jbinfra-shop .jbi-filter-btn,
.jbinfra-shop .jbi-btn-primary,
.jbinfra-shop .jbi-summary-toggle,
.jbinfra-shop .jbi-remove-btn,
.jbinfra-shop .jbi-tab-btn,
.jbinfra-shop .jbi-login-tab,
.jbinfra-shop button {
    text-decoration: none !important;
}
.jbinfra-shop a:hover,
.jbinfra-shop button:hover {
    text-decoration: none !important;
}

/* Primary / Add / Submit buttons: ALL states */
.jbinfra-shop .jbi-btn-primary,
.jbinfra-shop .jbi-btn-primary:hover,
.jbinfra-shop .jbi-btn-primary:focus,
.jbinfra-shop .jbi-btn-primary:active,
.jbinfra-shop .jbi-btn-primary:visited,
.jbinfra-shop .jbi-add-btn,
.jbinfra-shop .jbi-add-btn:hover,
.jbinfra-shop .jbi-add-btn:focus,
.jbinfra-shop .jbi-add-btn:active,
.jbinfra-shop .jbi-add-btn:visited,
.jbinfra-shop .jbi-btn-submit,
.jbinfra-shop .jbi-btn-submit:hover,
.jbinfra-shop .jbi-btn-submit:focus,
.jbinfra-shop .jbi-btn-submit:active,
.jbinfra-shop .jbi-btn-submit:visited,
.jbinfra-shop button.jbi-btn-primary,
.jbinfra-shop button.jbi-btn-primary:hover,
.jbinfra-shop button.jbi-btn-primary:focus,
.jbinfra-shop button.jbi-btn-primary:active,
body .jbinfra-shop .jbi-btn-primary,
body .jbinfra-shop .jbi-btn-primary:hover,
body .jbinfra-shop .jbi-btn-primary:focus,
body .jbinfra-shop .jbi-btn-primary:active,
body .jbinfra-shop .jbi-add-btn,
body .jbinfra-shop .jbi-add-btn:hover,
body .jbinfra-shop .jbi-add-btn:focus,
body .jbinfra-shop .jbi-add-btn:active,
body .jbinfra-shop [type=button].jbi-btn-primary,
body .jbinfra-shop [type=button].jbi-btn-primary:hover,
body .jbinfra-shop [type=button].jbi-btn-primary:focus,
body .jbinfra-shop [type=button].jbi-btn-primary:active,
body .jbinfra-shop [type=submit].jbi-btn-primary,
body .jbinfra-shop [type=submit].jbi-btn-primary:hover,
body .jbinfra-shop [type=submit].jbi-btn-primary:focus,
body .jbinfra-shop [type=submit].jbi-btn-primary:active,
body .jbinfra-shop button.jbi-add-btn,
body .jbinfra-shop button.jbi-add-btn:hover,
body .jbinfra-shop button.jbi-add-btn:focus,
body .jbinfra-shop button.jbi-add-btn:active,
body .jbinfra-shop button.jbi-btn-submit,
body .jbinfra-shop button.jbi-btn-submit:hover,
body .jbinfra-shop button.jbi-btn-submit:focus,
body .jbinfra-shop button.jbi-btn-submit:active {
    background-color: var(--jbi-green) !important;
    color: var(--jbi-white) !important;
    border-color: var(--jbi-green) !important;
    outline: none !important;
}
.jbinfra-shop .jbi-btn-primary:hover,
.jbinfra-shop .jbi-add-btn:hover,
.jbinfra-shop .jbi-btn-submit:hover,
body .jbinfra-shop .jbi-btn-primary:hover,
body .jbinfra-shop .jbi-add-btn:hover,
body .jbinfra-shop .jbi-btn-submit:hover,
body .jbinfra-shop button.jbi-btn-primary:hover,
body .jbinfra-shop button.jbi-add-btn:hover,
body .jbinfra-shop button.jbi-btn-submit:hover,
body .jbinfra-shop [type=button].jbi-btn-primary:hover,
body .jbinfra-shop [type=submit].jbi-btn-primary:hover {
    background-color: var(--jbi-green-hover) !important;
    border-color: var(--jbi-green-hover) !important;
}

/* Filter/tab buttons: override all states */
.jbinfra-shop .jbi-filter-btn:hover,
.jbinfra-shop .jbi-filter-btn:focus,
.jbinfra-shop .jbi-filter-btn:active,
.jbinfra-shop .jbi-tab-btn:hover,
.jbinfra-shop .jbi-tab-btn:focus,
.jbinfra-shop .jbi-tab-btn:active,
.jbinfra-shop .jbi-login-tab:hover,
.jbinfra-shop .jbi-login-tab:focus,
.jbinfra-shop .jbi-login-tab:active,
body .jbinfra-shop .jbi-filter-btn:hover,
body .jbinfra-shop .jbi-filter-btn:focus,
body .jbinfra-shop .jbi-filter-btn:active,
body .jbinfra-shop .jbi-tab-btn:hover,
body .jbinfra-shop .jbi-tab-btn:focus,
body .jbinfra-shop .jbi-tab-btn:active,
body .jbinfra-shop .jbi-login-tab:hover,
body .jbinfra-shop .jbi-login-tab:focus,
body .jbinfra-shop .jbi-login-tab:active,
body .jbinfra-shop button.jbi-filter-btn:hover,
body .jbinfra-shop button.jbi-filter-btn:focus,
body .jbinfra-shop button.jbi-filter-btn:active,
body .jbinfra-shop button.jbi-tab-btn:hover,
body .jbinfra-shop button.jbi-tab-btn:focus,
body .jbinfra-shop button.jbi-tab-btn:active,
body .jbinfra-shop button.jbi-login-tab:hover,
body .jbinfra-shop button.jbi-login-tab:focus,
body .jbinfra-shop button.jbi-login-tab:active,
body .jbinfra-shop [type=button].jbi-filter-btn:hover,
body .jbinfra-shop [type=button].jbi-filter-btn:focus,
body .jbinfra-shop [type=button].jbi-filter-btn:active,
body .jbinfra-shop [type=button].jbi-tab-btn:hover,
body .jbinfra-shop [type=button].jbi-tab-btn:focus,
body .jbinfra-shop [type=button].jbi-tab-btn:active,
body .jbinfra-shop [type=button].jbi-login-tab:hover,
body .jbinfra-shop [type=button].jbi-login-tab:focus,
body .jbinfra-shop [type=button].jbi-login-tab:active {
    outline: none !important;
    box-shadow: none !important;
}
.jbinfra-shop .jbi-filter-btn:hover,
.jbinfra-shop .jbi-filter-btn:active,
.jbinfra-shop .jbi-filter-btn:focus,
body .jbinfra-shop .jbi-filter-btn:hover,
body .jbinfra-shop .jbi-filter-btn:active,
body .jbinfra-shop .jbi-filter-btn:focus,
body .jbinfra-shop button.jbi-filter-btn:hover,
body .jbinfra-shop button.jbi-filter-btn:active,
body .jbinfra-shop button.jbi-filter-btn:focus,
body .jbinfra-shop [type=button].jbi-filter-btn:hover,
body .jbinfra-shop [type=button].jbi-filter-btn:active,
body .jbinfra-shop [type=button].jbi-filter-btn:focus {
    background-color: var(--jbi-white) !important;
    color: var(--jbi-green) !important;
    border-color: var(--jbi-green) !important;
}
.jbinfra-shop .jbi-filter-btn.active,
.jbinfra-shop .jbi-filter-btn.active:hover,
.jbinfra-shop .jbi-filter-btn.active:active,
.jbinfra-shop .jbi-filter-btn.active:focus,
body .jbinfra-shop .jbi-filter-btn.active,
body .jbinfra-shop .jbi-filter-btn.active:hover,
body .jbinfra-shop .jbi-filter-btn.active:active,
body .jbinfra-shop .jbi-filter-btn.active:focus,
body .jbinfra-shop button.jbi-filter-btn.active,
body .jbinfra-shop button.jbi-filter-btn.active:hover,
body .jbinfra-shop button.jbi-filter-btn.active:active,
body .jbinfra-shop button.jbi-filter-btn.active:focus {
    background-color: var(--jbi-navy) !important;
    color: var(--jbi-white) !important;
    border-color: var(--jbi-navy) !important;
}
.jbinfra-shop .jbi-tab-btn:hover,
.jbinfra-shop .jbi-tab-btn:active,
.jbinfra-shop .jbi-tab-btn:focus,
body .jbinfra-shop .jbi-tab-btn:hover,
body .jbinfra-shop .jbi-tab-btn:active,
body .jbinfra-shop .jbi-tab-btn:focus,
body .jbinfra-shop button.jbi-tab-btn:hover,
body .jbinfra-shop button.jbi-tab-btn:active,
body .jbinfra-shop button.jbi-tab-btn:focus,
body .jbinfra-shop [type=button].jbi-tab-btn:hover,
body .jbinfra-shop [type=button].jbi-tab-btn:active,
body .jbinfra-shop [type=button].jbi-tab-btn:focus {
    background-color: var(--jbi-white) !important;
    color: var(--jbi-navy) !important;
    border-color: var(--jbi-border) !important;
}
.jbinfra-shop .jbi-tab-btn.active,
.jbinfra-shop .jbi-tab-btn.active:hover,
.jbinfra-shop .jbi-tab-btn.active:active,
.jbinfra-shop .jbi-tab-btn.active:focus,
body .jbinfra-shop .jbi-tab-btn.active,
body .jbinfra-shop .jbi-tab-btn.active:hover,
body .jbinfra-shop .jbi-tab-btn.active:active,
body .jbinfra-shop .jbi-tab-btn.active:focus,
body .jbinfra-shop button.jbi-tab-btn.active,
body .jbinfra-shop button.jbi-tab-btn.active:hover,
body .jbinfra-shop button.jbi-tab-btn.active:active,
body .jbinfra-shop button.jbi-tab-btn.active:focus {
    background-color: var(--jbi-navy) !important;
    color: var(--jbi-white) !important;
    border-color: var(--jbi-navy) !important;
}

/* Summary toggle: force green */
.jbinfra-shop .jbi-summary-toggle,
.jbinfra-shop .jbi-summary-toggle:hover,
.jbinfra-shop .jbi-summary-toggle:focus,
.jbinfra-shop .jbi-summary-toggle:active,
body .jbinfra-shop .jbi-summary-toggle,
body .jbinfra-shop .jbi-summary-toggle:hover,
body .jbinfra-shop .jbi-summary-toggle:focus,
body .jbinfra-shop .jbi-summary-toggle:active,
body .jbinfra-shop button.jbi-summary-toggle,
body .jbinfra-shop button.jbi-summary-toggle:hover,
body .jbinfra-shop button.jbi-summary-toggle:focus,
body .jbinfra-shop button.jbi-summary-toggle:active {
    color: var(--jbi-green) !important;
    background: none !important;
    border: none !important;
}

/* Remove button: force red */
.jbinfra-shop .jbi-remove-btn,
.jbinfra-shop .jbi-remove-btn:hover,
.jbinfra-shop .jbi-remove-btn:focus,
.jbinfra-shop .jbi-remove-btn:active,
body .jbinfra-shop .jbi-remove-btn,
body .jbinfra-shop .jbi-remove-btn:hover,
body .jbinfra-shop .jbi-remove-btn:focus,
body .jbinfra-shop .jbi-remove-btn:active,
body .jbinfra-shop button.jbi-remove-btn,
body .jbinfra-shop button.jbi-remove-btn:hover,
body .jbinfra-shop button.jbi-remove-btn:focus,
body .jbinfra-shop button.jbi-remove-btn:active {
    color: #cc0000 !important;
    background-color: transparent !important;
    border: none !important;
}
.jbinfra-shop .jbi-remove-btn:hover,
body .jbinfra-shop .jbi-remove-btn:hover,
body .jbinfra-shop button.jbi-remove-btn:hover {
    background-color: rgba(204, 0, 0, 0.1) !important;
}

/* Login tab states */
.jbinfra-shop .jbi-login-tab,
.jbinfra-shop .jbi-login-tab:hover,
.jbinfra-shop .jbi-login-tab:active,
.jbinfra-shop .jbi-login-tab:focus,
body .jbinfra-shop .jbi-login-tab,
body .jbinfra-shop .jbi-login-tab:hover,
body .jbinfra-shop .jbi-login-tab:active,
body .jbinfra-shop .jbi-login-tab:focus,
body .jbinfra-shop button.jbi-login-tab,
body .jbinfra-shop button.jbi-login-tab:hover,
body .jbinfra-shop button.jbi-login-tab:active,
body .jbinfra-shop button.jbi-login-tab:focus {
    background-color: var(--jbi-white) !important;
    color: var(--jbi-text-muted) !important;
}
.jbinfra-shop .jbi-login-tab.active,
.jbinfra-shop .jbi-login-tab.active:hover,
.jbinfra-shop .jbi-login-tab.active:active,
.jbinfra-shop .jbi-login-tab.active:focus,
body .jbinfra-shop .jbi-login-tab.active,
body .jbinfra-shop .jbi-login-tab.active:hover,
body .jbinfra-shop .jbi-login-tab.active:active,
body .jbinfra-shop .jbi-login-tab.active:focus,
body .jbinfra-shop button.jbi-login-tab.active,
body .jbinfra-shop button.jbi-login-tab.active:hover,
body .jbinfra-shop button.jbi-login-tab.active:active,
body .jbinfra-shop button.jbi-login-tab.active:focus {
    background-color: var(--jbi-navy) !important;
    color: var(--jbi-white) !important;
}

/* Nav cart button in user bar */
.jbinfra-shop .jbi-nav-cart-btn,
.jbinfra-shop .jbi-nav-cart-btn:hover,
.jbinfra-shop .jbi-nav-cart-btn:focus,
.jbinfra-shop .jbi-nav-cart-btn:active,
body .jbinfra-shop .jbi-nav-cart-btn,
body .jbinfra-shop .jbi-nav-cart-btn:hover,
body .jbinfra-shop .jbi-nav-cart-btn:focus,
body .jbinfra-shop .jbi-nav-cart-btn:active,
body .jbinfra-shop button.jbi-nav-cart-btn,
body .jbinfra-shop button.jbi-nav-cart-btn:hover,
body .jbinfra-shop button.jbi-nav-cart-btn:focus,
body .jbinfra-shop button.jbi-nav-cart-btn:active {
    background-color: var(--jbi-white) !important;
    color: var(--jbi-green) !important;
    border-color: var(--jbi-green) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Animation */
@keyframes jbi-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.jbi-added { animation: jbi-pulse 300ms var(--jbi-easing); }

/* Responsive */
@media (max-width: 560px) {
    .jbi-user-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .jbi-login-card {
        padding: 28px 20px;
    }
}
