/* v3.11.9 - one horizontal, non-wrapping, non-shrinking filter bar for the store views; every catalog picture is 4:3 */
.dpp-chipbar { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; padding: 6px 4px; white-space: nowrap; scrollbar-width: none; overscroll-behavior-x: contain; }
.dpp-chipbar::-webkit-scrollbar { display: none; }
.dpp-chipbar > * { flex-shrink: 0; white-space: nowrap; }
.sp-chips { flex-wrap: nowrap; gap: 8px; padding: 6px 4px; white-space: nowrap; }
.sp-chips > .sp-chip, .sp-chips > * { flex-shrink: 0; }
.sp-seg { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.sp-seg button { flex: 1 1 0; min-height: 40px; border-radius: 10px; border: 0; background: transparent; color: #cbd5e1; font-weight: 900; font-size: .8rem; }
.sp-seg button[aria-pressed="true"] { background: #22d3ee; color: #020617; }
.sp-grid .sp-gallery { aspect-ratio: 4 / 3; }
.sp-photo, .sp-acc-img { aspect-ratio: 4 / 3; object-fit: cover; }
.dpp-img43 { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; display: block; background: #020617; }
.dpp-thumb43 { width: 5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .75rem; flex-shrink: 0; background: rgba(0, 0, 0, .4); }
.dpp-slot43 { aspect-ratio: 4 / 3; }
.sp-feat { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .5rem; border-radius: 99px; font-size: .62rem; font-weight: 900; background: rgba(250, 204, 21, .16); color: #fde68a; border: 1px solid rgba(250, 204, 21, .4); }
.sp-reserved { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .5rem; border-radius: 99px; font-size: .62rem; font-weight: 900; background: rgba(244, 63, 94, .16); color: #fecdd3; border: 1px solid rgba(244, 63, 94, .4); }

/* v3.11.9 - Smart Vision Scanner viewfinder */
body.dpp-scan-open { overflow: hidden; }
.dpp-scan { position: fixed; inset: 0; z-index: 100000; background: #000; display: flex; flex-direction: column; color: #fff; }
.dpp-scan-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dpp-scan-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(2, 6, 23, .75), rgba(2, 6, 23, 0) 22%, rgba(2, 6, 23, 0) 58%, rgba(2, 6, 23, .85)); }
.dpp-scan-top { position: relative; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 8px; }
.dpp-scan-title { flex: 1; text-align: center; font-weight: 900; font-size: .95rem; }
.dpp-scan-btn { width: 44px; height: 44px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .7); color: #fff; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; }
.dpp-scan-btn[hidden] { display: none; }
.dpp-scan-btn[aria-pressed="true"] { background: #facc15; color: #020617; }
.dpp-scan-reticle { position: absolute; left: 50%; top: 40%; width: min(78vw, 360px); aspect-ratio: 4 / 3; transform: translate(-50%, -50%); pointer-events: none; }
.dpp-scan-reticle i { position: absolute; width: 28px; height: 28px; border: 0 solid #22d3ee; }
.dpp-scan-reticle i:nth-child(1) { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 12px; }
.dpp-scan-reticle i:nth-child(2) { top: 0; right: 0; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 12px; }
.dpp-scan-reticle i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 12px; }
.dpp-scan-reticle i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 12px; }
.dpp-scan-line { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: rgba(239, 68, 68, .85); box-shadow: 0 0 10px rgba(239, 68, 68, .8); }
.dpp-scan-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px calc(env(safe-area-inset-bottom, 0px) + 14px); display: flex; flex-direction: column; gap: 8px; }
.dpp-scan-hint { text-align: center; font-weight: 900; font-size: .85rem; }
.dpp-scan-got { display: flex; flex-direction: column; gap: 4px; }
.dpp-scan-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(15, 23, 42, .75); border: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; }
.dpp-scan-row.is-set { border-color: rgba(52, 211, 153, .6); }
.dpp-scan-row .k { color: #94a3b8; font-weight: 900; }
.dpp-scan-row .v { font-family: ui-monospace, monospace; }
.dpp-scan-note { text-align: center; font-size: .68rem; color: #6ee7b7; font-weight: 900; }
.dpp-scan-done { min-height: 48px; border-radius: 14px; border: 0; background: #22d3ee; color: #020617; font-weight: 900; font-size: .95rem; }
.dpp-scanwrap { display: flex; gap: 6px; align-items: stretch; }
.dpp-scanwrap > input { flex: 1 1 auto; min-width: 0; }
.dpp-scanbtn { flex: none; width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .12); color: #67e8f9; display: flex; align-items: center; justify-content: center; }

/* v3.12.0 hotfix - the store hub tab bar: a Tailwind "flex-1" on the tabs (flex: 1 1 0%) out-ranked the bar's flex-shrink: 0 and crushed the tabs into one another on phones */
[data-store-sections], .dpp-chipbar[data-store-sections] { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; gap: 8px !important; width: 100% !important; padding: 6px 8px !important; scrollbar-width: none !important; }
[data-store-sections]::-webkit-scrollbar { display: none; }
[data-store-sections] > *, .dpp-chipbar > * { flex: 0 0 auto !important; flex-shrink: 0 !important; white-space: nowrap !important; position: static !important; margin: 0 !important; }

/* v3.12.1 - ultra-compact portal bars: brand / category pills + sort controls only, listings start in the first viewport */
.sp-portal-head { padding: 4px 8px !important; gap: 2px !important; }
.sp-portal-top { gap: 6px !important; }
.sp-portal .sp-search { min-height: 32px !important; padding-top: 0 !important; padding-bottom: 0 !important; font-size: 12px !important; }
.sp-portal .sp-chips { padding: 2px 4px !important; margin: 0 !important; gap: 4px !important; min-height: auto !important; }
.sp-portal .sp-chip { min-height: auto !important; padding: 2px 8px !important; font-size: 12px !important; line-height: 1.2 !important; }
.sp-portal .sp-chip small { font-size: 10px !important; }
.sp-portal .sp-sorts { padding: 2px 4px !important; margin: 0 !important; gap: 4px !important; min-height: auto !important; }
.sp-portal .sp-sorts > span { font-size: 11px !important; line-height: 1.2 !important; }
.sp-portal .sp-sort { flex: 0 0 auto !important; min-height: auto !important; padding: 2px 8px !important; font-size: 11px !important; line-height: 1.2 !important; }
.sp-portal-body { padding-top: 6px !important; }
