/* ==========================================================================
   Wholesale shop colours (Shop::isDistributor, body.store--wholesale)
   So a retailer knows at once they are in a wholesale app, never a retail shop's:
     dark header and bottom menu   #0B1F33 → #12304D, text #FFFFFF / #A9C1D6
     buttons and links             teal blue #0F6E8C, dark #0B5570
     text and headings             navy #0B2E4F / #10243A, grey #4A6378
     soft blue backgrounds         #EEF6FA, borders #DCE9F0 / #C7DDE8
     "Wholesale" badge             amber #B45309; scheme tags amber on #FEF3C7
   Loaded after the page styles, only for wholesale shops.
   ========================================================================== */

body.store--wholesale {
    --color-text: #10243A;
    --color-text-muted: #4A6378;
    --color-ink: #0B2E4F;
    --color-primary: #0F6E8C;
    --color-primary-dark: #0B5570;
    --color-offer: #0B2E4F;
    --color-soft: #EEF6FA;
    --color-border: #DCE9F0;
    --color-border-strong: #C7DDE8;
    --card-border: #8FA9BC;
    --letter-band: #0B2E4F;
    --header-gradient: linear-gradient(180deg, #0B1F33 0%, #12304D 100%);
    --header-text: #FFFFFF;
    --shadow-raised: 0 3px 10px rgba(11, 46, 79, 0.14);
    --shadow-float: 0 8px 22px rgba(15, 110, 140, 0.35);
}

/* Header: dark, with white shop name */
.store--wholesale .site-header {
    box-shadow: 0 2px 10px rgba(11, 31, 51, 0.25);
}

.store--wholesale .shop-badge__place {
    color: #A9C1D6;
}

.store--wholesale .shop-badge__initials {
    background: #FFFFFF;
    color: #0B2E4F;
}

.wholesale-badge {
    align-self: flex-start;
    margin-top: 5px;
    padding: 3px 7px;
    border-radius: 6px;
    background: #B45309;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.store--wholesale .shop-status__way {
    color: #C9D8E5;
}

.store--wholesale .shop-status__way strong {
    color: #FFFFFF;
}

.store--wholesale .shop-status__way-icon,
.store--wholesale .shop-status__all {
    color: #7FD3EC;
}

.store--wholesale .shop-status__way--paused,
.store--wholesale .shop-status__way--paused .shop-status__way-icon {
    color: #FFB4C8;
}

/* Bottom menu: dark too */
.store--wholesale .bottom-nav {
    background: #0B1F33;
    border-top-color: #0B1F33;
}

.store--wholesale .bottom-nav__item {
    color: #A9C1D6;
}

.store--wholesale .bottom-nav__item.is-active {
    color: #FFFFFF;
}

/* Rate on request: navy instead of purple */
.store--wholesale .price-mrp {
    color: #4A6378;
}

.store--wholesale .price-request {
    border-color: #C7DDE8;
    background: #EEF6FA;
    color: #0B2E4F;
}

.store--wholesale .price-request .icon {
    stroke: #0F6E8C;
}

/* Buttons and marks that are pink in retail shops */
.store--wholesale .cart-bar__proceed,
.store--wholesale .qty-tip__chip {
    background: #0F6E8C;
}

.store--wholesale .cart-bar__proceed:hover {
    background: #0B5570;
}

.store--wholesale .order-steps__step--current .order-steps__marker,
.store--wholesale .time-select__input:focus {
    border-color: #0F6E8C;
}

.store--wholesale .order-steps__step--current .order-steps__label,
.store--wholesale .time-field__clock {
    color: #0F6E8C;
}

/* Checkout: the one way, delivery to the retailer's shop */
.wholesale-way {
    padding: 12px;
    border-radius: var(--radius-md);
    background: #EEF6FA;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wholesale-way__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #0F6E8C;
}

.wholesale-way__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wholesale-way__title {
    font-size: 15px;
    font-weight: 700;
    color: #0B2E4F;
}

.wholesale-way__sub {
    font-size: 13px;
    color: #4A6378;
}

.text-input--upper {
    text-transform: uppercase;
}

/* Product page: the rate line and the button's glow */
.store--wholesale .buy-bar__amount--request {
    color: #0B2E4F;
}

.store--wholesale .buy-bar .btn--primary,
.store--wholesale .cart-bar__proceed {
    box-shadow: 0 6px 16px rgba(15, 110, 140, 0.30);
}

/* ADD and the − 2 + stepper: blue, with a blue glow */
.store--wholesale .add-button:hover {
    background: #EEF6FA;
}

.store--wholesale .stepper {
    box-shadow: 0 4px 10px rgba(15, 110, 140, 0.30);
}

.store--wholesale .cart-control--large .add-button {
    box-shadow: 0 6px 14px rgba(15, 110, 140, 0.30);
}

/* Checkout and order pages: their header light blue instead of light purple */
.store--wholesale .flow-header {
    background: linear-gradient(180deg, #D3E8F2 0%, #EAF4F9 100%);
}

/* "Waiting for the shop to confirm" and the like: blue, not pink */
.store--wholesale .order-steps__now {
    background: #EEF6FA;
    color: #0B5570;
}

.store--wholesale .order-steps__now--done {
    background: #E8F7EE;
    color: #15803D;
}

/* "After … checks" in the order summary */
.store--wholesale .cart-bill__row dd.is-request {
    color: #0F6E8C;
}

/* Shop page: the logo letters in navy */
.store--wholesale .shop-page__logo--initials {
    background: #0B2E4F;
    color: #FFFFFF;
}

/* The header after scrolling stays dark, so the white shop name can be read */
.store--wholesale .site-header.is-compact {
    background: #0B1F33;
    box-shadow: 0 4px 14px rgba(11, 31, 51, 0.30);
}

/* What is typed in the search box: dark text on the white box (the header's text is white) */
.store--wholesale .search-box__input {
    color: #10243A;
}

/* Search page header: light blue instead of light purple */
.store--wholesale .search-header {
    background: linear-gradient(180deg, #D3E8F2 0%, #EAF4F9 100%);
}

.store--wholesale .search-suggest__price--request {
    background: #EEF6FA;
    color: #0B2E4F;
}

/* "How many?" Update button: blue glow */
.store--wholesale .qty-sheet__save {
    box-shadow: 0 6px 16px rgba(15, 110, 140, 0.30);
}

/* "‹ All wholesalers": back to the Proxiva Wholesalers app (only on a phone that has used it).
   White #FFFFFF on #FFFFFF26, border #FFFFFF59; the app's name #A9C1D6 */
.wholesalers-back {
    align-self: flex-start;
    min-height: 36px;
    padding: 4px 12px 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.wholesalers-back svg {
    width: 18px;
    height: 18px;
}

.wholesalers-back small {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #A9C1D6;
}

.store--wholesale .site-header.is-compact .wholesalers-back {
    display: none;
}
