.shop-shell .price-visibility-toggle { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--market-line, #dce4d8); border-radius: 10px; color: var(--market-ink, #092855); background: #fff; cursor: pointer; }
.price-visibility-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-visibility-toggle .price-eye-slash { display: none; }
.prices-hidden .price-visibility-toggle .price-eye-slash { display: block; }
.price-visibility-toggle:hover, .price-visibility-toggle[aria-pressed="true"] { background: var(--market-soft, #f0f4f8); }
.price-visibility-toggle:focus-visible { outline: 2px solid var(--market-deep, #092855); outline-offset: 3px; }
.shop-shell span.private-price, .shop-shell .private-price span { display: inline; color: inherit; font: inherit; }
.private-price-placeholder::before { content: "••••"; }
.shop-shell .private-price .private-price-placeholder { display: none; }
.prices-hidden .shop-shell .private-price .private-price-value { display: none; }
.prices-hidden .shop-shell .private-price .private-price-placeholder { display: inline; letter-spacing: 2px; white-space: nowrap; }
@media (max-width: 480px) {
  .shop-shell .shop-brand { flex-basis: 100px; width: 100px; }
  .shop-shell.header-compact .shop-header-inner { grid-template-columns: 44px minmax(40px, 1fr) auto; gap: 6px; }
}

.shop-shell .price-presentation-controls { display: flex; align-items: center; gap: 6px; }
.shop-shell .catalog-markup-control { display: grid; gap: 2px; width: 76px; font-size: 10px; line-height: 1.1; font-weight: 600; color: var(--market-ink, #092855); }
.catalog-markup-field { display: flex; align-items: center; height: 30px; padding-right: 6px; gap: 2px; border: 1px solid var(--market-line, #dce4d8); border-radius: 6px; background: #fff; }
.catalog-markup-field input { min-width: 0; width: 100%; height: 28px; padding: 4px 6px; border: 0; border-radius: 6px; font-size: 13px; color: inherit; background: transparent; }
.catalog-markup-field input[aria-invalid="true"] { outline: 2px solid #b42318; }
.markup-active .shop-shell .private-price[data-markup-price] .private-price-value { display: none; }
.markup-active .private-price[data-markup-price]::after { content: attr(data-markup-price); }
.prices-hidden.markup-active .private-price[data-markup-price]::after { display: none; }
@media (max-width: 760px) {
  .shop-shell .shop-header-actions { flex-wrap: wrap; }
  .shop-shell .price-presentation-controls { flex: 0 0 100%; justify-content: flex-end; }
  .shop-shell.header-compact .shop-header-actions { display: grid; grid-template-columns: 44px 44px 48px; gap: 2px; }
  .shop-shell.header-compact .price-presentation-controls { grid-column: 1 / -1; grid-row: 2; }
  .shop-shell.header-compact .shop-header-actions > .client-welcome-link { grid-column: 1; grid-row: 1; }
  .shop-shell.header-compact .shop-header-actions > .header-orders-link { grid-column: 2; grid-row: 1; }
  .shop-shell.header-compact .shop-header-actions > .header-cart-menu { grid-column: 3; grid-row: 1; }
}

.markup-active .catalog-markup-field { border-color: var(--market-deep, #092855); background: var(--market-soft, #f0f4f8); }

.shop-shell .retailer-mode { position: relative; flex: 0 0 auto; }
.shop-shell .retailer-mode-button { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--market-line, #dce4d8); border-radius: 12px; background: #fff; color: var(--market-deep, #092855); cursor: pointer; font-size: 12px; line-height: 1.25; text-align: left; }
.retailer-mode-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.retailer-mode-button b { display: block; font-size: 13px; }
.shop-shell .retailer-mode-button i { display: none; font-size: 10px; font-style: normal; }
.retailer-active .shop-shell .retailer-mode-button { border-color: var(--market-deep, #092855); background: var(--market-soft, #f0f4f8); }
.retailer-active .retailer-mode-button::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #278344; }
.shop-shell .retailer-settings { position: absolute; top: calc(100% + 12px); right: 0; z-index: 210; width: min(310px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--market-line, #dce4d8); border-radius: 16px; background: #fff; color: var(--market-ink, #092855); box-shadow: 0 12px 40px #09285524; }
.shop-shell .retailer-settings[hidden], .shop-shell .price-presentation-controls[hidden] { display: none; }
.shop-shell .retailer-mode-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; cursor: pointer; }
.retailer-mode-switch small { display: block; margin-top: 4px; color: #657080; font-size: 12px; }
.shop-shell .retailer-mode-switch input { appearance: auto; flex: 0 0 20px; width: 20px; height: 20px; accent-color: var(--market-deep, #092855); }
.shop-shell .retailer-settings .price-presentation-controls { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--market-line, #dce4d8); }
.shop-shell .retailer-settings .price-presentation-controls[hidden] { display: none; }
.shop-shell .retailer-settings .catalog-markup-control { width: 150px; gap: 6px; font-size: 12px; }
.shop-shell .retailer-settings .catalog-markup-field { height: 40px; }
.shop-shell .retailer-settings p { margin: 14px 0 0; color: #657080; font-size: 11px; line-height: 1.5; }
@media (max-width: 760px) {
  .shop-shell .shop-header-actions > .retailer-mode { order: 3; }
  .shop-shell .retailer-mode-button { min-height: 36px; padding: 6px 10px; font-size: 11px; }
  .retailer-mode-button b { display: inline; font-size: inherit; }
  .retailer-mode-button svg { width: 18px; height: 18px; }
  .shop-shell.header-compact .retailer-mode { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
}
.shop-shell .retailer-settings { white-space: normal; }
@media (min-width: 821px) and (max-width: 1100px) {
  .shop-shell .shop-header-inner { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; }
  .shop-shell .client-welcome-link, .shop-shell .header-orders-link { width: 44px; min-width: 44px; padding: 0; }
  .shop-shell .client-welcome-link > span:last-child, .shop-shell .header-orders-link strong { display: none; }
  .shop-shell.header-compact .shop-header-inner { grid-template-columns: 44px 110px minmax(0, 1fr) auto; gap: 10px; }
  .shop-shell.header-compact .shop-header-actions { gap: 6px; }
}
