.date-picker-accessible-title { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.store-photo-field { display: grid; gap: 8px; margin-block: 14px; }
.store-photo-field img { box-sizing: border-box; width: 112px; height: 112px; padding: 6px; object-fit: contain; border: 1px solid var(--line, #ddd2d8); border-radius: 18px; background: #fff; }
.store-photo-field small { font-size: 12px; }
.store-photo-error { color: #9b2030; }
.delivery-cost-note { display: block; margin-block: 8px 14px; color: var(--muted, #6f656b); font-size: 12px; }
.stores-body .market-store-visual img[src^="data:image"],
.stores-body #selected-store-profile>img[src^="data:image"] { box-sizing: border-box; padding: 10px; object-fit: contain !important; background: #fff; }
.merchant-mobile-profile img.uploaded-store-logo { box-sizing: border-box; padding: 5px; object-fit: contain; background: #fff; }
a.btn.primary[href="reels-home.html"],a.btn.primary[href="shopper-app.html"] { border-color: #111 !important; background: #111 !important; background-image: none !important; color: #fff !important; box-shadow: none !important; }
a.btn.primary[href="reels-home.html"]::before,a.btn.primary[href="shopper-app.html"]::before { content: none !important; background: none !important; }
.stores-body .market-ad-slot:not([hidden]) { display: block !important; margin: 12px 0 20px; }
.market-published-banner { grid-column: 1 / -1; display: block; position: relative; width: 100%; overflow: hidden; border-radius: 16px; text-decoration: none; }
.market-published-banner img { display: block; width: 100%; aspect-ratio: 12 / 5; height: auto; object-fit: cover; border-radius: 0; }
.market-published-banner > span { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 8px; background: #fff; color: #291f27; font-size: 11px; }
.paid-ad-label { font-size: 11px; color: var(--color-muted, #756b70); }
#discount-success[role=alert] { background:var(--merchant-shell-danger-soft,#fdeaea); color:var(--merchant-shell-danger,#a13f46); border-color:currentColor; }
.favorite-product { position:relative; }
.favorite-product > .discount-save-badge { position:absolute; top:8px; right:0; z-index:1; }
body.ui-consistent .customer-order-card > summary { grid-template-columns:minmax(0,1fr) auto 12px; gap:8px; }
.customer-order-card .order-status { align-self:start; max-width:160px; white-space:normal; text-align:center; font-weight:700; }
.customer-order-card .order-status.paid { background:#e7f7eb; color:#207a52; }
.account-security-actions { display:flex; flex-wrap:nowrap; justify-content:space-between; align-items:center; gap:16px; margin-block-start:16px; direction:rtl; }
body .account-security-actions :is(.password-change-entry,#delete-customer-account,#merchant-shell-delete,#merchant-delete,.delete-account) { background:none!important; border:0!important; box-shadow:none!important; color:var(--ui-ink,var(--ink))!important; width:auto!important; padding:8px 0!important; margin:0!important; font:inherit; min-height:48px; text-decoration:underline; cursor:pointer; border-radius:0!important; }
body .password-change-dialog button[type=submit] { background:#111!important; background-image:none!important; color:#fff!important; }
body .merchant-ads-title-row { display:flex; direction:ltr; justify-content:space-between; align-items:center; gap:16px; width:100%; }
body .merchant-ads-title-row h1 { margin:0!important; direction:rtl; }
body .merchant-ads-title-row .merchant-form-back { margin:0!important; flex:0 0 48px; }
body.market-tools-unified .market-quick-tools :is([data-quick-filter],[data-quick-search]) { box-shadow:0 12px 34px rgba(55,29,49,.08); }
body.ui-consistent #market-filter-dialog { background:var(--ui-surface)!important; color:var(--ui-ink)!important; border:1px solid var(--ui-line)!important; border-radius:24px!important; font-family:var(--ui-font); }
body.ui-consistent #market-filter-dialog .preferences-card { background:transparent!important; color:inherit!important; }
body.ui-consistent #market-filter-title { font:600 20px var(--ui-font); }
body.ui-consistent #market-filter-dialog .market-filter-group h3 { color:var(--ui-ink); font:700 18px var(--ui-font); }
body.ui-consistent #market-filter-dialog .market-filter-group button { background:var(--ui-surface)!important; color:var(--ui-ink)!important; border-color:var(--ui-ink)!important; font:600 15px var(--ui-font); }
body.ui-consistent #market-filter-dialog .market-filter-group button.selected { background:var(--ui-ink)!important; color:var(--ui-surface)!important; }
body.ui-consistent #market-filter-dialog #apply-market-filters { background:var(--ui-ink)!important; color:var(--ui-surface)!important; font:600 16px var(--ui-font); }
body :is(#merchant-shell-profile-form,#customer-register-form,#merchant-profile-form):has(>.account-security-actions)>button[type=submit] { width:calc(50% - 8px)!important; min-height:48px; margin-inline:auto!important; }
body .merchant-form-back { position:relative; display:flex; margin-inline-start:auto; margin-block-end:16px; width:48px; height:48px; align-items:center; justify-content:center; text-decoration:none; }
.language-card { width:min(440px,calc(100% - 32px)); border:1px solid var(--line); border-radius:24px; background:var(--paper,#fffaf6); color:var(--ink); padding:24px; }
.language-card .preferences-card { padding:0; }
.language-card::backdrop { background:#0006; }
body.subscription-body[data-role=customer] .credit-summary { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; margin-block-end:24px; }
body.subscription-body[data-role=customer] .credit-summary strong { font-size:clamp(24px,5vw,32px); }
body.subscription-body[data-role=customer] .credit-equivalent { gap:8px; justify-content:flex-end; font-size:14px; }
body.subscription-body[data-role=customer] .credit-equivalent b { font-size:24px; }
[data-audience-choice] { min-width:0; }
.team-panel { position:relative; }
.team-permissions-heading { position:absolute; top:24px; left:24px; min-height:48px; display:flex; align-items:center; font-weight:700; }
.team-panel .team-head { padding-block-start:48px; }
#coordination-panel [data-audience-choice] { flex:1; }
#ad-submit-error { color: #9b2030; }
.admin-banner-preview { display: block; max-width: 100%; width: 360px; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 12px; margin-block: 12px; }

.market-ad-slot[hidden], .market-ad-slot:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
:is(.stores-list, .market-products, .shopper-discounts, .product-reels.grid-view) > .market-published-banner { grid-column: 1 / -1 !important; width: 100% !important; min-width: 0; flex: 0 0 100%; align-self: start; }
.market-published-banner { box-sizing: border-box; height: auto !important; min-height: auto; aspect-ratio: 12 / 5; margin: 0; }
.market-published-banner img { max-width: 100%; }
body :is(#market-ad-top, #stores-list, #market-products, #shopper-discounts, #product-reels) > a.market-published-banner { border-radius: 16px !important; padding: 0 !important; border: 0 !important; overflow: hidden; }
body a.market-published-banner > img { border-radius: 0 !important; }
body.stores-body #market-pages > .market-page[hidden] { display: none !important; }
body.stores-body #market-pages > .market-page:not([hidden]) { display: block !important; }
.product-reels.grid-view { grid-auto-rows: max-content; }
/* Longer discount ribbon only in Explore's full-screen reels, not other lists. */
.reels-shell .product-reels:not(.grid-view) .product-reel > .discount-save-badge {
  min-width: 96px;
  padding: 7px 20px;
  box-sizing: border-box;
  text-align: center;
}
