/* The commerce experience belongs to the storefront; creator tools keep their own UI. */
body.sf-rebrand .shop-portal { padding: 28px 0 80px; background: var(--rb-paper, #e3e1dc); }
body.sf-rebrand.is-shop .shop-pick { display: block; padding: 18px clamp(20px, 4vw, 64px) 30px; }
body.sf-rebrand .shop-pick-head { margin: 0 0 18px; text-align: left; font: 500 12px/1.4 var(--sf-font-sans); letter-spacing: .12em; text-transform: uppercase; }
body.sf-rebrand .shop-pick-grid { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0; background: none; }
body.sf-rebrand .shop-pick-card { display: block; flex: 0 0 auto; padding: 8px 0; aspect-ratio: auto; min-height: 44px; background: none; border: 0; border-bottom: 1px solid transparent; color: var(--rb-ink); overflow: visible; }
body.sf-rebrand .shop-pick-card::after, body.sf-rebrand .shop-pick-media { display: none; }
body.sf-rebrand .shop-pick-label { position: static; display: block; font: 400 clamp(16px, 1.7vw, 23px)/1.3 var(--sf-font-sans); letter-spacing: -.02em; text-transform: none; color: inherit; }
body.sf-rebrand .shop-pick-card:is(:hover, .is-active) { border-color: var(--rb-wine, #69252b); color: var(--rb-wine, #69252b); }
body.sf-rebrand .shop-pick-card:nth-child(n) { margin: 0; transform: none; }
body.sf-rebrand .shop-pick-card:nth-child(n) .shop-pick-label { transform: none; }
body.sf-rebrand .shop-browse { display: flex; flex-direction: column; }
body.sf-rebrand .shop-filter-bar { order: 0; position: relative; top: auto; z-index: 10; padding: 0 clamp(20px, 4vw, 64px); }
body.sf-rebrand .shop-filter-shell { width: 100%; min-width: 0; max-width: none; background: transparent; border: 0; border-top: 1px solid var(--rb-line, #b7b3ad); border-bottom: 1px solid var(--rb-line, #b7b3ad); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.sf-rebrand .shop-filter-bar.is-floating .shop-filter-shell { box-shadow: none; }
body.sf-rebrand .sfb-head { min-height: 60px; justify-content: flex-start; padding: 5px 64px 5px 0; gap: 28px; }
body.sf-rebrand .sfb-title { position: static; color: var(--rb-ink); font-size: 12px; }
body.sf-rebrand .sfb-tabs { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
body.sf-rebrand .sfb-tab, body.sf-rebrand .sfb-stock-check { min-height: 44px; padding: 0 12px; font-size: 12px; color: var(--rb-ink); }
body.sf-rebrand .sfb-reset { right: 0; min-height: 44px; font-size: 12px; }
body.sf-rebrand .sfb-reset.is-active { color: var(--rb-wine); text-decoration: underline; text-underline-offset: 4px; }
body.sf-rebrand .sfb-drawer-track { padding: 20px 0; max-height: min(300px, 40vh); }
body.sf-rebrand .shop-filter-category, body.sf-rebrand .shop-filter-size, body.sf-rebrand .shop-filter-chip { min-height: 44px; font-family: var(--sf-font-sans); font-size: 12px; border-color: var(--rb-line); background: transparent; }
body.sf-rebrand :is(.shop-filter-category, .shop-filter-size, .shop-filter-chip).is-active { background: var(--rb-wine); border-color: var(--rb-wine); color: var(--rb-paper); }
body.sf-rebrand .sfb-stock-check input { accent-color: var(--rb-wine); }
body.sf-rebrand .shop-main-full { padding: 0 clamp(20px, 4vw, 64px); }
body.sf-rebrand .shop-main-head { flex-wrap: wrap; gap: 14px 20px; align-items: baseline; margin: 0; padding: 38px 0 28px; }
body.sf-rebrand .shop-main-title { margin: 0; font: 400 clamp(28px, 3vw, 40px)/1.05 var(--sf-font-sans); letter-spacing: -.045em; }
body.sf-rebrand .shop-main-count { margin-right: auto; color: #5b5752; font-size: 12px; letter-spacing: 0; text-transform: none; }
body.sf-rebrand .sf-shop-sort { display: flex; align-items: center; gap: 8px; color: #5b5752; font: 400 12px/1.4 var(--sf-font-sans); }
body.sf-rebrand .sf-shop-sort select { min-height: 44px; padding: 8px 24px 8px 8px; border: 0; border-bottom: 1px solid var(--rb-line); background: transparent; color: var(--rb-ink); font: inherit; }
body.sf-rebrand .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 18px; }
body.sf-rebrand .shop-edit-card { min-width: 0; color: var(--rb-ink); }
body.sf-rebrand .shop-edit-media { aspect-ratio: 4 / 5; background: #d2d1c9; overflow: hidden; }
body.sf-rebrand .shop-edit-card[data-kind="oxfords"] .shop-edit-media { background: #aeb9c7; }
body.sf-rebrand .shop-edit-card[data-kind="peep-toe"] .shop-edit-media { background: #cda8a5; }
body.sf-rebrand .shop-edit-card[data-kind="boots"] .shop-edit-media { background: #b0b3a6; }
body.sf-rebrand .shop-edit-card[data-kind="crossbody"] .shop-edit-media { background: #bc8d84; }
body.sf-rebrand .shop-edit-card[data-kind="straps"] .shop-edit-media { background: #b9a7ad; }
body.sf-rebrand .shop-edit-media img { width: 100%; height: 100%; object-fit: cover; }
body.sf-rebrand .pdp-taste-media { aspect-ratio: 4 / 5; }
body.sf-rebrand :is(.pdp-taste-name, .pdp-taste-why) { font-family: var(--sf-font-sans); font-style: normal; }
body.sf-rebrand .shop-edit-media[data-photo-kind="source"] .img-primary { object-fit: contain; padding: 0; }
body.sf-rebrand .pdp-slide[data-photo-kind="source"] img { object-fit: contain; padding: 0; }
body.sf-rebrand .shop-edit-meta { padding: 14px 0 0; }
body.sf-rebrand .shop-edit-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
body.sf-rebrand .shop-edit-line { font: 400 14px/1.4 var(--sf-font-sans); letter-spacing: 0; text-transform: none; }
body.sf-rebrand .shop-edit-price { flex: 0 0 auto; margin: 0; font: 400 13px/1.4 var(--sf-font-sans); letter-spacing: 0; color: #514d48; }
body.sf-rebrand .shop-edit-save { top: 12px; right: 12px; width: 44px; height: 44px; color: var(--rb-wine); background: rgba(227, 225, 220, .92); border: 1px solid transparent; box-shadow: none; }
body.sf-rebrand .shop-edit-save:hover { border-color: currentColor; background: var(--rb-paper); }
body.sf-rebrand .sf-product-availability { position: absolute; left: 12px; top: 12px; background: var(--rb-paper); padding: 8px 10px; font-size: 11px; letter-spacing: .04em; }
body.sf-rebrand .sf-shop-empty { grid-column: 1 / -1; padding: 64px 20px; text-align: center; }
body.sf-rebrand .sf-shop-reset { min-height: 44px; padding: 12px 24px; border: 1px solid var(--rb-wine); color: var(--rb-wine); background: transparent; font: inherit; cursor: pointer; }
body.sf-rebrand .sf-shop-search-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 24px; font-size: 14px; }
body.sf-rebrand .sf-shop-search-summary[hidden] { display: none; }
body.sf-rebrand .sf-shop-search-summary button { min-height: 44px; border: 0; border-bottom: 1px solid var(--rb-wine); background: transparent; color: var(--rb-wine); font: inherit; cursor: pointer; }
body.sf-rebrand .sf-shop-active-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 24px; }
body.sf-rebrand .sf-shop-active-filters[hidden] { display: none; }
body.sf-rebrand .sf-shop-active-filters button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rb-line); color: var(--rb-ink); background: transparent; font: 400 12px/1.4 var(--sf-font-sans); cursor: pointer; }

/* The deck's continuous image column, substantial contact sheet and quiet purchase panel. */
body.sf-rebrand .pdp { padding: 14px 3.5vw 0; background: var(--rb-paper); }
body.sf-rebrand .pdp-layout { display: grid; grid-template-columns: minmax(0, 496px) minmax(0, 460px); align-items: start; justify-content: center; gap: clamp(32px, 4vw, 64px); max-width: 1100px; margin: 0 auto; height: auto; min-height: 0; overflow: visible; }
body.sf-rebrand .sf-product-error-media { grid-column: 1 / -1; min-height: 400px; display: grid; place-items: center; background: var(--rb-pink); }
body.sf-rebrand .sf-product-error { padding: 45px 0; }
body.sf-rebrand .sf-product-error h1 { font-size: clamp(32px,4vw,52px); line-height: 1.1; }
body.sf-rebrand .sf-product-error p { line-height: 1.7; }
body.sf-rebrand .sf-product-error .rb-button { margin: 15px 12px 0 0; cursor: pointer; }
body.sf-rebrand .pdp-gallery-wrap, body.sf-rebrand .pdp-main { display: block; width: auto; height: auto; min-height: 0; overflow: visible; }
body.sf-rebrand :is(.pdp-main, .pdp-panel, .pdp-head, .pdp-accordion, .pdp-acc-panel) { background: transparent; }
body.sf-rebrand .pdp-gallery-wrap { position: relative; top: auto; }
body.sf-rebrand .pdp-main { position: sticky; top: calc(var(--sf-chrome-top, 116px) + 14px); }
body.sf-rebrand .pdp-gallery { display: flex; flex-direction: column; gap: 12px; overflow: visible; height: auto; scroll-snap-type: none; }
body.sf-rebrand .sf-pdp-stage { position: relative; width: 100%; min-width: 0; height: auto; max-height: 620px; aspect-ratio: 4 / 5; background: var(--rb-paper); }
body.sf-rebrand .pdp-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; margin: 0; scroll-snap-align: none; }
body.sf-rebrand .pdp-slide[hidden] { display: none !important; }
body.sf-rebrand .pdp-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.sf-rebrand .pdp-slide[data-photo-kind='campaign'] img { object-fit: cover; }
body.sf-rebrand .sf-pdp-thumbs { display: flex; flex-direction: row; gap: 8px; width: 100%; max-height: 100px; padding: 2px 0 6px; overflow-x: auto; overflow-y: hidden; }
body.sf-rebrand .sf-pdp-thumbs[hidden] { display: none; }
body.sf-rebrand .sf-pdp-thumb { display: block; flex: 0 0 auto; width: 72px; height: 86px; padding: 0; border: 1px solid transparent; background: #d7d4ce; opacity: .72; cursor: pointer; }
body.sf-rebrand .sf-pdp-thumb.is-active { opacity: 1; border-color: var(--rb-ink); }
body.sf-rebrand .sf-pdp-thumb:focus-visible { outline: 2px solid var(--rb-ink); outline-offset: -3px; }
body.sf-rebrand .sf-pdp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.sf-rebrand .sf-pdp-gallery-controls { position: absolute; bottom: 12px; right: 12px; display: flex; align-items: center; background: var(--rb-paper); color: var(--rb-ink); }
body.sf-rebrand .sf-pdp-gallery-controls button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 11px; cursor: pointer; }
body.sf-rebrand .sf-pdp-gallery-count { min-width: 42px; text-align: center; font-size: 11px; }
body.sf-rebrand .pdp-back { display: none; }
body.sf-rebrand .sf-pdp-mobile-head { display: none; }
body.sf-rebrand .pdp-panel { width: 100%; max-width: none; margin: 0; padding: 0 0 40px; }
body.sf-rebrand .sf-pdp-breadcrumb { display: none; gap: 9px; align-items: center; margin: 0; font-size: 11px; color: #5b5752; }
body.sf-rebrand .sf-pdp-breadcrumb a { color: inherit; text-decoration: none; }
body.sf-rebrand .sf-pdp-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.sf-rebrand .pdp-head { min-height: 0; margin: 0; padding-bottom: 48px; gap: 10px; align-items: flex-start; }
body.sf-rebrand .pdp-line { display: none; }
body.sf-rebrand .pdp-title { max-width: 9ch; margin: 0 0 16px; font: 400 clamp(28px, 2.9vw, 44px)/.98 var(--sf-font-sans); letter-spacing: -.04em; }
body.sf-rebrand .pdp-price { font: 400 14px/1.4 var(--sf-font-sans); letter-spacing: 0; color: var(--rb-ink); }
body.sf-rebrand .pdp-head-tools { gap: 0; }
body.sf-rebrand .pdp-head-tools button { min-width: 32px; min-height: 32px; width: 32px; height: 32px; border: 0; background: none; }
body.sf-rebrand .pdp-field { margin: 0 0 15px; }
body.sf-rebrand .pdp-option-label { font-size: 11px; letter-spacing: 0; color: var(--rb-ink); text-transform: none; }
body.sf-rebrand .pdp-selected-color { color: #635d59; }
body.sf-rebrand .pdp-colors { display: grid; grid-template-columns: repeat(8, 24px); gap: 0; margin-top: 4px; }
body.sf-rebrand .pdp-color { width: 24px; height: 24px; min-width: 24px; min-height: 24px; padding: 2px; border-radius: 50% !important; border: 1px solid transparent; background: transparent; }
body.sf-rebrand .pdp-color img, body.sf-rebrand .pdp-color-fallback { border-radius: 50% !important; }
body.sf-rebrand .pdp-color.is-active { border-color: var(--rb-wine); }
body.sf-rebrand .pdp-size-card { padding: 0; margin: 0; background: transparent; border: 0; box-shadow: none; }
body.sf-rebrand .pdp-option-head { align-items: center; margin-bottom: 0; }
body.sf-rebrand .pdp-fit-open { min-height: 24px; padding: 0; border: 0; background: none; color: var(--rb-ink); font: 400 10px/1.4 var(--sf-font-sans); text-decoration: underline; text-underline-offset: 4px; border-radius: 0 !important; }
body.sf-rebrand .pdp-fit-open__mark { display: none; }
body.sf-rebrand .pdp-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
body.sf-rebrand .pdp-option { min-width: 28px; min-height: 30px; height: 30px; padding: 0 5px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--rb-ink); font: 400 11px/1 var(--sf-font-sans); }
body.sf-rebrand .pdp-option.is-active { border-color: var(--rb-ink); background: transparent; color: var(--rb-ink); font-weight: 600; }
body.sf-rebrand .pdp-option.is-unavailable { opacity: .42; text-decoration: line-through; }
body.sf-rebrand .pdp-actions { display: flex; gap: 0; margin: 10px 0 48px; }
body.sf-rebrand .pdp-btn { min-height: 40px; height: 40px; flex: 1; padding: 7px 16px; background: transparent; border: 1px solid #8b8680; color: var(--rb-ink); font: 400 15px/1.4 var(--sf-font-sans); letter-spacing: -.02em; text-transform: none; }
body.sf-rebrand .pdp-btn:hover:not(:disabled) { background: var(--rb-ink); border-color: var(--rb-ink); color: var(--rb-paper); }
body.sf-rebrand .pdp-btn:disabled { cursor: not-allowed; opacity: .6; }
body.sf-rebrand .pdp-save-heart { width: 54px; height: 54px; flex-shrink: 0; border: 1px solid var(--rb-line); background: transparent; color: var(--rb-wine); }
body.sf-rebrand .pdp-save-heart--head { display: grid; }
body.sf-rebrand .pdp-actions .pdp-save-heart { display: none; }
body.sf-rebrand .sf-pdp-stock { color: var(--rb-wine); font-size: 13px; line-height: 1.5; }
body.sf-rebrand .pdp-trust { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 5px; padding: 0; border: 0; background: none; }
body.sf-rebrand .pdp-trust-cell { display: inline-flex; gap: 0; padding: 3px 7px; border: 1px solid #b7b3ad; border-radius: 14px !important; }
body.sf-rebrand .pdp-trust-icon { display: none; }
body.sf-rebrand .pdp-trust-copy { font-size: 8px; line-height: 1.2; letter-spacing: .015em; text-transform: uppercase; }
body.sf-rebrand .pdp-highlights { font-family: var(--sf-font-sans); }
body.sf-rebrand .pdp-accordion { margin-top: 28px; }
body.sf-rebrand .pdp-acc-item { border-color: var(--rb-line); }
body.sf-rebrand .pdp-acc-trigger { min-height: 58px; font-family: var(--sf-font-sans); letter-spacing: .03em; }
body.sf-rebrand .pdp-acc-body { font: 400 14px/1.65 var(--sf-font-sans); }
body.sf-rebrand .pdp-taste { margin: 50px 0 0; padding: 40px 0 56px; border-top: 1px solid var(--rb-line); background: transparent; }
body.sf-rebrand .pdp-taste-title { font: 400 clamp(28px, 3vw, 42px)/1.1 var(--sf-font-sans); letter-spacing: -.035em; }
body.sf-rebrand .pdp-taste-name, body.sf-rebrand .pdp-taste-meta { font-family: var(--sf-font-sans); letter-spacing: 0; }

/* Search, saved pieces, bag and fit assistance share the same quiet surfaces. */
body.sf-rebrand :is(.qa-pop-shell, .size-chart-panel) { background: var(--rb-paper); border: 1px solid var(--rb-line); box-shadow: none; backdrop-filter: none; }
body.sf-rebrand .qa-pop-shell { width: min(380px, calc(100vw - 32px)); }
body.sf-rebrand .qa-pop-line { font: 400 18px/1.3 var(--sf-font-sans); letter-spacing: -.02em; text-transform: none; }
body.sf-rebrand .qa-pop-price { font-size: 14px; color: var(--rb-ink); }
body.sf-rebrand :is(.qa-pop-size, .qa-pop-close, .qa-pop-gallery-nav) { min-height: 44px; min-width: 44px; background: var(--rb-paper); color: var(--rb-ink); border-color: var(--rb-line); }
body.sf-rebrand .qa-pop-size.is-active { background: var(--rb-wine); color: var(--rb-paper); border-color: var(--rb-wine); }
body.sf-rebrand :is(.qa-pop-add, .qa-pop-view) { min-height: 48px; text-transform: none; font-size: 12px; letter-spacing: 0; border-color: var(--rb-wine); }
body.sf-rebrand .qa-pop-add { background: var(--rb-wine); color: var(--rb-paper); }
body.sf-rebrand .qa-pop-view { background: transparent; color: var(--rb-wine); }
body.sf-rebrand .qa-pop-size-chart { min-height: 44px; font-size: 11px; color: var(--rb-wine); }
body.sf-rebrand .size-chart-title { font: 400 28px/1.2 var(--sf-font-sans); letter-spacing: -.03em; }
body.sf-rebrand .size-chart-close { min-width: 44px; min-height: 44px; }
body.sf-rebrand .size-chart-table tr.is-selected td { background: var(--rb-pink); }
body.sf-rebrand :is(.search-spot-panel, .faves-spot-panel, .pdp-fit-card) { background: var(--rb-paper); color: var(--rb-ink); border: 1px solid var(--rb-line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.sf-rebrand :is(.search-spot-backdrop, .faves-spot-backdrop, .pdp-fit-spot-backdrop, .cart-spot-backdrop) { background: rgba(39, 32, 26, .28); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
body.sf-rebrand :is(.search-spot-title, .faves-spot-title) { font: 400 28px/1.2 var(--sf-font-sans); text-transform: none; letter-spacing: -.03em; color: var(--rb-ink); }
body.sf-rebrand :is(.search-spot-close, .faves-spot-close, .cart-spot-close, .pdp-fit-close) { min-width: 44px; min-height: 44px; background: transparent; color: var(--rb-ink); opacity: 1; }
body.sf-rebrand .search-spot-field { border: 1px solid var(--rb-line); background: transparent; box-shadow: none; }
body.sf-rebrand .search-spot-field:focus-within { border-color: var(--rb-wine); box-shadow: none; }
body.sf-rebrand .search-spot-results { border: 0; background: transparent; }
body.sf-rebrand .search-spot-item { padding: 14px 0; border-bottom: 1px solid var(--rb-line); }
body.sf-rebrand .search-spot-thumb { width: 64px; height: 76px; }
body.sf-rebrand .search-spot-name { font-size: 14px; }
body.sf-rebrand .search-spot-copy { display: grid; gap: 4px; }
body.sf-rebrand .faves-spot-panel { padding: 28px; }
body.sf-rebrand .faves-spot-head { margin-bottom: 24px; }
body.sf-rebrand .faves-spot-body .shop-edit-grid { gap: 28px 18px; }
body.sf-rebrand .faves-spot-body :is(.shop-edit-line, .shop-edit-price) { font-size: 13px; letter-spacing: 0; }
body.sf-rebrand .cart-spot { --cart-serif: var(--sf-font-sans); --cart-sans: var(--sf-font-sans); --cart-cream: var(--rb-paper); --cart-paper: #eeece7; --cart-accent: var(--rb-wine); --cart-wine: var(--rb-wine); }
body.sf-rebrand .cart-spot-panel { width: min(460px, 100%); box-shadow: none; border-left: 1px solid var(--rb-line); }
body.sf-rebrand .cart-spot-backdrop { width: calc(100% - min(460px, 100%)); }
body.sf-rebrand .cart-spot-head { padding-top: 28px; }
body.sf-rebrand :is(.cart-spot-title, .cart-spot-empty h3, .cart-spot-auth-title, .cart-spot-auth-score strong, .cart-spot-auth-line em, .cart-line-title, .cart-spot-suggest-name, .cart-spot-sub strong) { font-family: var(--sf-font-sans); font-style: normal; letter-spacing: -.025em; }
body.sf-rebrand .cart-spot-title { font-size: 32px; }
body.sf-rebrand .cart-spot-auth-card { --cart-wine: var(--rb-wine); box-shadow: none; }
body.sf-rebrand .cart-spot-auth-title { font-size: 20px; }
body.sf-rebrand .cart-line-title { font-size: 15px; }
body.sf-rebrand .cart-line-qty button { min-width: 40px; min-height: 44px; }
body.sf-rebrand .cart-line-remove { min-height: 44px; }
body.sf-rebrand :is(.cart-spot-checkout, .cart-spot-shop) { min-height: 52px; background: var(--rb-wine); border-color: var(--rb-wine); text-transform: none; letter-spacing: .03em; }
body.sf-rebrand .cart-spot-ship-fill, body.sf-rebrand .cart-spot-ship.is-unlocked .cart-spot-ship-fill { background: var(--rb-forest); animation: none; }
body.sf-rebrand :is(.pdp-fit-kicker, .pdp-fit-table) { color: #5b5752; }
body.sf-rebrand .pdp-fit-table:hover { color: var(--rb-wine); }
body.sf-rebrand :is(.pdp-fit-text--ai, .pdp-fit-size, .pdp-fit-wear) { font-family: var(--sf-font-sans); font-style: normal; }
body.sf-rebrand .pdp-fit-wear { color: var(--rb-wine); min-height: 44px; }
body.sf-rebrand .pdp-fit-msg--user .pdp-fit-text { background: var(--rb-wine); color: var(--rb-paper); }
body.sf-rebrand .pdp-fit-bar { border: 1px solid var(--rb-line); border-radius: 0 !important; background: #eeece7; box-shadow: none; }
body.sf-rebrand .pdp-fit-send { border-radius: 0 !important; background: var(--rb-wine); }
body.sf-rebrand .pdp-fit-typing span { background: var(--rb-wine); }
body.sf-rebrand .wm-stylist-bar, body.sf-rebrand .wm-stylist:is(.is-open, .has-thread) .wm-stylist-bar { background: var(--rb-paper); border-color: var(--rb-line); box-shadow: none; backdrop-filter: none; }
body.sf-rebrand .wm-stylist:is(.is-open, .has-thread) .wm-stylist-panel { background: var(--rb-paper); border-color: var(--rb-line); box-shadow: none; }
body.sf-rebrand .wm-stylist:is(.is-open, .has-thread) .wm-msg-user .wm-msg-text, body.sf-rebrand .wm-stylist-send, body.sf-rebrand .wm-stylist:is(.is-open, .has-thread) .wm-stylist-send { background: var(--rb-wine); color: var(--rb-paper); }
body.sf-rebrand :is(.wm-haiku, .wm-intro, .wm-pick-title) { font-family: var(--sf-font-sans); font-style: normal; }
body.sf-rebrand .wm-stylist:is(.is-open, .has-thread) :is(.wm-pick, .wm-chip, .wm-stylist-new, .wm-stylist-close, .wm-stylist-faves, .wm-view-faves) { background: transparent; border-color: var(--rb-line); color: var(--rb-ink); }
body.sf-rebrand .sf-stylist-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--rb-wine); background: var(--rb-paper); color: var(--rb-wine); font: 400 13px/1.4 var(--sf-font-sans); cursor: pointer; }
body.sf-rebrand .wm-stylist--dock:not(.sf-stylist-expanded) { width: auto; left: auto; right: 24px; bottom: 24px; transform: none; }
body.sf-rebrand .wm-stylist--dock:not(.sf-stylist-expanded) > :not(.sf-stylist-toggle) { display: none !important; }
body.sf-rebrand .wm-stylist--dock.sf-stylist-expanded > .sf-stylist-toggle { margin-bottom: 8px; margin-left: auto; display: flex; }

@media (max-width: 1000px) {
  body.sf-rebrand .pdp-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2vw; }
  body.sf-rebrand .pdp-gallery { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 0; }
  body.sf-rebrand .shop-edit-copy { display: block; }
  body.sf-rebrand .shop-edit-price { margin-top: 4px; }
}
@media (max-width: 720px) {
  body.sf-rebrand .shop-portal { padding: 14px 0 48px; }
  body.sf-rebrand.is-shop .shop-pick { padding: 16px 20px 20px; }
  body.sf-rebrand .shop-pick-grid { flex-wrap: nowrap; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  body.sf-rebrand .shop-pick-label { font-size: 18px; }
  body.sf-rebrand .shop-filter-bar, body.sf-rebrand .shop-main-full { padding-left: 20px; padding-right: 20px; }
  body.sf-rebrand .sfb-title { display: none; }
  body.sf-rebrand .sfb-head { padding-right: 42px; }
  body.sf-rebrand .sfb-tabs { gap: 0; }
  body.sf-rebrand .sfb-tab, body.sf-rebrand .sfb-stock-check { font-size: 11px; padding: 0 7px; }
  body.sf-rebrand .shop-main-head { padding: 28px 0 20px; gap: 10px; }
  body.sf-rebrand .shop-main-title { font-size: 34px; }
  body.sf-rebrand .shop-main-count { margin-right: 0; margin-left: auto; }
  body.sf-rebrand .sf-shop-sort { flex-basis: 100%; justify-content: flex-end; }
  body.sf-rebrand .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  body.sf-rebrand .shop-edit-copy { display: block; }
  body.sf-rebrand .shop-edit-line { font-size: 12px; line-height: 1.45; }
  body.sf-rebrand .shop-edit-price { font-size: 12px; margin-top: 5px; }
  body.sf-rebrand .shop-edit-save { top: 5px; right: 5px; width: 40px; height: 40px; }
  body.sf-rebrand .pdp { padding: 20px 20px 0; }
  body.sf-rebrand .pdp-layout { display: flex; flex-direction: column; gap: 24px; max-width: none; }
  body.sf-rebrand .sf-pdp-mobile-head { display: flex; flex-direction: column; gap: 20px; order: -1; width: 100%; }
  body.sf-rebrand .pdp-gallery-wrap { position: static; width: 100%; order: 1; }
  body.sf-rebrand .pdp-main { display: contents; }
  body.sf-rebrand .pdp-panel { display: contents; }
  body.sf-rebrand .sf-pdp-breadcrumb { display: flex; order: -3; margin: 0; }
  body.sf-rebrand .pdp-head { order: -2; width: 100%; min-height: 0; margin: 0; padding-bottom: 0; }
  body.sf-rebrand .pdp-head-tools { margin-left: auto; }
  body.sf-rebrand .pdp-title { font-size: 32px; margin: 8px 0 10px; }
  body.sf-rebrand .pdp-price { font-size: 18px; }
  body.sf-rebrand .pdp-gallery { display: flex; flex-direction: column; gap: 10px; }
  body.sf-rebrand .sf-pdp-stage { width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 5; }
  body.sf-rebrand .pdp-slide { position: absolute; inset: 0; aspect-ratio: auto; }
  body.sf-rebrand .sf-pdp-thumb { width: 52px; height: 64px; }
  body.sf-rebrand .pdp-panel > :not(.pdp-head):not(.sf-pdp-breadcrumb) { order: 2; width: 100%; }
  body.sf-rebrand .pdp-field, body.sf-rebrand .pdp-actions { margin: 0; }
  body.sf-rebrand .pdp-colors { grid-template-columns: repeat(8, 36px); }
  body.sf-rebrand .pdp-color { width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 7px; }
  body.sf-rebrand .pdp-option { min-height: 44px; height: 44px; min-width: 36px; }
  body.sf-rebrand .pdp-fit-open { min-height: 44px; }
  body.sf-rebrand .pdp-btn { min-height: 48px; }
  body.sf-rebrand .pdp-actions { position: sticky; bottom: 0; z-index: 8; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); background: var(--rb-paper); }
  body.sf-rebrand .pdp-accordion { margin-top: 0; }
  body.sf-rebrand .pdp-taste { margin-top: 36px; padding-top: 30px; }
  body.sf-rebrand .faves-spot { padding: 12px; }
  body.sf-rebrand .faves-spot-panel { padding: 18px; }
  body.sf-rebrand .faves-spot-body .shop-edit-grid { gap: 24px 12px; }
  body.sf-rebrand .wm-stylist--dock:not(.sf-stylist-expanded) { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.sf-rebrand :is(.pdp-gallery, .pdp-panel, .sf-pdp-thumb, .shop-edit-media img, .search-spot-panel, .faves-spot-panel, .cart-spot-panel, .pdp-fit-card) { transition: none; animation: none; }
}
