/* Shared GateCore round control and pill label pattern; all web/mobile checkboxes. */
:root,.mobile-app { --gb-checkbox-border:#7a8798; }
:root[data-theme=dark],.mobile-app[data-theme=dark] { --gb-checkbox-border:#9ba6b5; }
:is(input,.form-check-input)[type=checkbox] {
    appearance:none; -webkit-appearance:none; display:inline-block; vertical-align:middle;
    width:1.25rem; height:1.25rem; min-width:1.25rem; flex-shrink:0;
    border:2px solid var(--gb-checkbox-border); border-radius:50%; background:var(--gb-surface);
    background-position:center; background-repeat:no-repeat; background-size:100% 100%; cursor:pointer;
    transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease;
}
:is(input,.form-check-input)[type=checkbox]:checked {
    background-color:var(--gb-accent); border-color:var(--gb-text);
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 0 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
}
label:not(.form-switch):has(>:is(input,.form-check-input)[type=checkbox]) {
    position:relative; display:inline-block; width:fit-content; max-width:100%; min-height:2rem;
    padding:.2rem .65rem .2rem 2.1rem; margin:0 .25rem .65rem 0; line-height:1.5;
    border:1px solid var(--gb-checkbox-border); border-radius:50rem; background:var(--gb-alt);
    color:var(--gb-text); cursor:pointer; overflow-wrap:anywhere;
}
label:not(.form-switch):has(>:is(input,.form-check-input)[type=checkbox]) > :is(input,.form-check-input)[type=checkbox] {
    position:absolute; inset-inline-start:.55rem; top:.375rem; float:none; margin:0;
    width:1.25rem; height:1.25rem;
}
label:not(.form-switch):has(>:is(input,.form-check-input)[type=checkbox]:checked) { background:var(--gb-soft); border-color:var(--gb-accent); }
label:not(.form-switch):has(>:is(input,.form-check-input)[type=checkbox]) > .form-check-label { padding:0; margin:0; cursor:inherit; }
:is(input,.form-check-input)[type=checkbox]:not(:disabled):hover { border-color:var(--gb-accent); box-shadow:0 0 0 .2rem var(--gb-soft); }
:is(input,.form-check-input)[type=checkbox]:focus-visible { outline:2px solid var(--gb-text); outline-offset:3px; }
label:not(.form-switch):has(>:is(input,.form-check-input)[type=checkbox]:focus-visible) { outline:2px solid var(--gb-accent); outline-offset:3px; }
:is(input,.form-check-input)[type=checkbox]:disabled,label:not(.form-switch):has(>:is(input,.form-check-input)[type=checkbox]:disabled) { cursor:not-allowed; opacity:.6; }
label.auth-remember:has(> .form-check-input[type=checkbox]) {
    display:flex;
    align-items:center;
    width:100%;
    min-height:44px;
    padding-block:.5rem;
    border-radius:var(--bs-border-radius);
}
label.auth-remember:has(> .form-check-input[type=checkbox]) > .form-check-input[type=checkbox] {
    top:50%;
    transform:translateY(-50%);
}
label.auth-remember:has(> .form-check-input[type=checkbox]):hover { border-color:var(--gb-accent); }
@media(prefers-reduced-motion:reduce){:is(input,.form-check-input)[type=checkbox]{transition:none}}

.store-hours-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(90px,1fr) minmax(90px,1fr);gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--gb-line)}
.store-hours-row .form-check{margin:0}.store-hours-row .form-label{font-size:.85rem}.store-hours{min-width:0}.store-hours-row select{width:100%;min-width:0}@media(max-width:480px){.store-hours-row{grid-template-columns:1fr 1fr;gap:8px}.store-hours-row>.form-check{grid-column:1/-1}}
/* Shared Bootstrap switches: use .form-check.form-switch and .form-check-input.
   This is the source copied to Android by SyncSharedBrand. */
:root,.mobile-app { --gb-switch-width:44px; --gb-switch-height:26px; --gb-switch-thumb:18px; --gb-switch-travel:18px; }
.form-switch { display:flex; align-items:center; gap:10px; padding-left:0; min-height:32px; }
label.form-switch { position:relative; width:auto; max-width:100%; margin:0 0 .5rem; padding:.4rem 0; border:0; border-radius:0; background:transparent; color:var(--gb-text); cursor:pointer; }
.form-switch .form-check-label { cursor:pointer; }
.form-switch input.form-check-input[type=checkbox] { position:static; inset:auto; float:none; transform:none; flex:0 0 auto; width:var(--gb-switch-width); height:var(--gb-switch-height); min-width:var(--gb-switch-width); margin:0; border:2px solid var(--gb-checkbox-border); border-radius:30px; background:var(--gb-checkbox-border); cursor:pointer; }
.form-switch input.form-check-input[type=checkbox]::before { content:""; display:block; width:var(--gb-switch-thumb); height:var(--gb-switch-thumb); margin:2px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0002; transition:transform 150ms ease; }
.form-switch input.form-check-input[type=checkbox]:checked { background:var(--gb-accent); border-color:var(--gb-accent); }
.form-switch input.form-check-input[type=checkbox]:checked::before { transform:translateX(var(--gb-switch-travel)); }
.form-switch input.form-check-input[type=checkbox]:disabled { cursor:not-allowed; opacity:.6; }
.form-switch:has(input:disabled) .form-check-label,label.form-switch:has(input:disabled) { cursor:not-allowed; opacity:.6; }
.form-switch input.form-check-input[type=checkbox]:focus-visible { outline:2px solid var(--gb-text); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .form-switch input.form-check-input[type=checkbox]::before { transition:none; } }

.sponsored-card { border:2px solid var(--gb-accent); background:color-mix(in srgb,var(--gb-accent) 5%,var(--gb-surface,#fff)); }
.verified-business { display:inline-flex; align-items:center; gap:.25rem; color:var(--gb-accent); font-size:.875em; }
.verified-business .icon { width:1.1em; height:1.1em; flex-shrink:0; }

/* Shared web/PWA/native listing submission status. Indeterminate, not a fake percentage. */
.listing-processing[hidden]{display:none!important}
.listing-processing{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px;background:rgba(17,19,21,.45)}
.listing-processing-card{width:min(100%,440px);padding:28px;border-radius:16px;background:var(--gb-surface,#fff);color:var(--gb-text,#262a32);box-shadow:0 16px 50px #0003;text-align:center}
.listing-processing-card h2{font-size:20px;line-height:1.5;margin:18px 0 10px}.listing-processing-card p{font-size:14px;line-height:1.6;margin:0;color:var(--gb-muted,#677080)}
.listing-processing-card progress{display:block;width:100%;height:8px;accent-color:var(--gb-accent,#ed7025)}
@media(prefers-reduced-motion:reduce){.listing-processing-card progress{visibility:hidden}.listing-processing-card{border-top:4px solid var(--gb-accent,#ed7025)}}

/* Shared buyer options: web and native consume the same rules. */
.inquiry-choice { min-width:0; margin:0 0 12px; padding:0 0 12px; border:0; border-bottom:1px solid var(--gb-line,#d8dce2); }
.inquiry-choice legend { float:none; width:auto; margin:0 0 6px; padding:0; font-size:15px; font-weight:600; color:var(--gb-text,#252a32); }
.inquiry-options { display:flex; flex-wrap:wrap; align-items:flex-start; gap:4px 18px; }
.inquiry-choice .inquiry-option { position:relative; display:inline-flex; align-items:center; justify-content:flex-start; gap:8px; min-width:44px; min-height:44px; padding:0 2px; border:0; border-radius:0; box-shadow:none; cursor:pointer; margin:0; background:transparent; color:var(--gb-text,#252a32); font-size:14px; line-height:20px; }
.inquiry-choice .inquiry-option input.form-check-input { appearance:none; -webkit-appearance:none; display:inline-block; position:relative; flex:0 0 22px; width:22px; height:22px; min-width:22px; margin:0; padding:0; border:2px solid var(--gb-muted,#626976); border-radius:50%; background:var(--gb-surface,#fff); background-image:none; box-shadow:none; cursor:pointer; }
.inquiry-choice .inquiry-option input.form-check-input:checked { border-color:var(--gb-accent,#fd6101); background:radial-gradient(circle,var(--gb-accent,#fd6101) 0 5px,transparent 6px); }
.inquiry-choice .inquiry-option input.form-check-input::before,.inquiry-choice .inquiry-option input.form-check-input::after { content:none; }
.inquiry-choice .inquiry-option input[type=checkbox] { border-radius:4px; }
.inquiry-choice .inquiry-option input:focus-visible { outline:2px solid var(--gb-accent,#fd6101); outline-offset:3px; }
.inquiry-choice .inquiry-color { flex-direction:column; justify-content:flex-start; gap:5px; padding:7px 4px 4px; min-width:44px; min-height:44px; }
.inquiry-choice .inquiry-color input.form-check-input { position:absolute; width:1px; height:1px; min-width:0; opacity:0; }
.inquiry-choice .inquiry-swatch { display:block; width:24px; height:24px; flex:none; border-radius:50%; }
.inquiry-swatch circle { stroke:var(--gb-muted,#626976); stroke-width:1; }
.inquiry-color:has(input:checked) .inquiry-swatch { outline:2px solid var(--gb-accent,#fd6101); outline-offset:3px; }
.inquiry-color:has(input:focus-visible) .inquiry-swatch { outline:2px solid var(--gb-accent,#fd6101); outline-offset:5px; }
.inquiry-choice .inquiry-clear { float:right; min-height:44px; padding:6px 0 6px 12px; color:var(--gb-muted,#626976); font-size:12px; background:none; border:0; text-decoration:underline; }
.inquiry-choice output { min-height:24px; padding-top:8px; font-size:12px; line-height:18px; }
.inquiry-choice::after { content:""; display:block; clear:both; }
@media (forced-colors:active) { .inquiry-choice .inquiry-option input.form-check-input { appearance:auto; } .inquiry-color:has(input:checked) .inquiry-swatch { outline-color:Highlight; } }

.listing-inquiry-form>details>summary { display:none; }
.inquiry-total { display:block; margin:8px 0 12px; color:var(--gb-muted); font-size:13px; }
.inquiry-total[hidden] { display:none; }
.inquiry-extras { font-size:12px; margin:8px 0; color:var(--gb-muted); }
.inquiry-extras summary { cursor:pointer; }
.message-composer-label { position:relative; display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }
.message-composer-label > label { margin:0; }
.ready-message-menu > summary { list-style:none; cursor:pointer; }
.ready-message-menu > summary::-webkit-details-marker { display:none; }
.ready-message-menu > .btn { white-space:nowrap; }
.ready-message-options { position:absolute; z-index:5; inset-inline-end:0; inset-block-start:calc(100% + 4px); inline-size:max-content; max-inline-size:100%; border:1px solid var(--gb-line); border-radius:8px; background:var(--gb-surface); box-shadow:0 4px 14px #0002; }
.ready-message-options > button { display:block; inline-size:100%; min-block-size:40px; padding:8px 12px; border:0; background:transparent; color:var(--gb-text); text-align:start; }
.ready-message-options > button + button { border-block-start:1px solid var(--gb-line); }
.ready-message-options > button:hover, .ready-message-options > button:focus-visible { background:var(--gb-alt); }
.inquiry-hint { font-size:12px; color:var(--gb-muted); margin:8px 0 0; }

.detail-share {position:relative;display:flex;align-items:center;} .detail-share [data-share-status]:empty {display:none;} .detail-share [data-share-status]:not(:empty),.detail-share [data-share-fallback]:not([hidden]) {position:absolute;right:0;top:100%;min-width:200px;background:var(--gb-surface);padding:8px;z-index:2;}

/* Shared, read-only selected attributes: compact in web and Android. */
.inquiry-total { display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px; }
.inquiry-selection { display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:28px;box-sizing:border-box;padding:3px 10px;border:1px solid #cbd5e1;border-radius:14px;background:#eef2f7;color:#52647b;font-size:13px;line-height:20px; }
.inquiry-selection strong {color:#172b4d;font-weight:600;overflow-wrap:anywhere;}
.inquiry-selection svg {width:12px;height:12px;flex:0 0 12px;stroke:#94a3b8;stroke-width:.5;}
[data-theme="dark"] .inquiry-selection {background:#243244;border-color:#52647b;color:#cbd5e1;}
[data-theme="dark"] .inquiry-selection strong {color:#f1f5f9;}

/* Read-only favorite count, shared by web and native listing details. */
.listing-favorite-count { display:flex;align-items:center;gap:6px;margin:8px 0 12px;color:var(--gb-favorite-count);font-size:13px;line-height:20px; }
.listing-favorite-count .icon {width:14px;height:14px;flex:0 0 14px;color:var(--gb-favorite-heart);}


.store-today {display:flex;align-items:center;gap:6px;font-size:13px;line-height:20px;margin:8px 0;color:var(--gb-muted);}
.store-today-open {color:var(--gb-favorite-count);}.store-today-later {color:var(--gb-warning);}.store-today .icon {width:16px;height:16px;flex:0 0 16px;}

/* Content sections stay visible; only category navigation uses disclosure. */
.expanded-section{min-width:0;overflow-wrap:anywhere}
.expanded-section-title{font-size:.9rem;font-weight:600;line-height:1.5;margin:0 0 .75rem;color:var(--gb-text)}
.expanded-section-title .icon{width:18px;height:18px;vertical-align:middle}
.expanded-section-title span{font-weight:400}
.listing-inquiry-form>.expanded-section>.expanded-section-title,
.seller-message>.action-panel>.expanded-section>.expanded-section-title{display:none}
.agreement-meta>.expanded-section{display:flex;align-items:baseline;gap:.5rem;max-width:100%}
.agreement-meta>.expanded-section>.expanded-section-title{font-size:inherit;margin:0}
.expanded-section+.expanded-section{margin-top:1rem}
.card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--gb-line);margin:0 10px;align-items:center}
.card-actions form{margin:0;padding:0}
.card-actions button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;background:transparent;border:0;border-radius:6px;color:var(--gb-text);padding:8px;cursor:pointer}
.card-actions>button,.card-actions>form+button{border-left:1px solid var(--gb-line)}
.card-actions .icon{width:16px;height:16px;flex:none}
.card-actions button[aria-pressed="true"]{color:var(--gb-accent)}
.card-actions form button[aria-pressed="true"]{color:var(--gb-favorite-heart)}
.card-actions button:hover{background:var(--gb-alt)}
.card-actions button:focus-visible{outline:2px solid var(--gb-accent);outline-offset:-2px}

/* Shared monetary badge: web and native consume the same theme tokens. */
.price-badge{display:inline-block;width:fit-content;max-width:100%;padding:4px 7px;border-radius:6px;background:var(--gb-soft);color:var(--gb-accent);vertical-align:baseline;overflow-wrap:anywhere}
/* Shared compact vehicle editor. */
.vehicle-fields{--bs-gutter-y:12px;--bs-gutter-x:16px}.vehicle-fields>div{margin-bottom:0!important}.vehicle-fields .form-label{margin:0 0 5px}.vehicle-field-section+.vehicle-field-section{margin-top:22px}.vehicle-field-section h2{margin-bottom:14px}.vehicle-picker{position:relative}.vehicle-picker-control{position:relative}.vehicle-picker-control .form-control{padding-right:42px}.vehicle-toggle{position:absolute;right:0;top:0;height:100%;width:40px;background:transparent;border:0;color:var(--gb-muted, #626976);display:grid;place-items:center}.vehicle-toggle svg{width:16px;height:16px}.vehicle-options{position:absolute;top:100%;left:0;right:0;z-index:20;background:var(--gb-surface, #fff);color:var(--gb-text, #20242b);border:1px solid var(--gb-line, #e1e4e9);border-radius:9px;box-shadow:0 8px 24px #0002;overflow:hidden}.vehicle-results{max-height:220px;overflow:auto;padding:4px}.vehicle-results button,.vehicle-manual{display:block;width:100%;text-align:left;border:0;background:transparent;color:var(--gb-text, #20242b);padding:10px 12px;min-height:42px}.vehicle-results button:hover,.vehicle-results button:focus{background:var(--gb-soft, #fff2e8)}.vehicle-manual{border-top:1px solid var(--gb-line, #e1e4e9);color:var(--gb-accent, #fd6101);font-size:13px}.vehicle-mode{display:block;color:var(--gb-muted, #626976);margin-top:3px}.vehicle-colors{display:flex;flex-wrap:wrap;gap:6px}.vehicle-colors label{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--gb-line, #e1e4e9);border-radius:7px;font-size:12px;min-height:36px;cursor:pointer}.vehicle-colors label:has(input:checked){border-color:var(--gb-accent, #fd6101);background:var(--gb-soft, #fff2e8)}.vehicle-colors input{appearance:auto!important;width:13px!important;height:13px!important;accent-color:var(--gb-accent, #fd6101);margin:0!important}.vehicle-colors svg{width:17px;height:17px;stroke:var(--gb-line, #e1e4e9);stroke-width:1}.vehicle-editor .field-group{margin-bottom:12px}.vehicle-editor .field-label{margin-bottom:5px}.vehicle-editor .vehicle-section-title{font-size:17px;margin:20px 0 12px}



.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 24px 0;
}
.catalog-pagination .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 4px 8px;
}
.catalog-pagination .pagination-gap { padding: 0 2px; }
