.wholesale-shell {
    background: #f6f8f4;
    min-height: 70vh;
    padding-bottom: 24px;
}

body.wholesale-order-page {
    padding-bottom: var(--wholesale-submit-space, 0px);
}

.wholesale-toolbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.wholesale-filters {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
}

.wholesale-table {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
}

.wholesale-table th {
    font-size: .78rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    white-space: nowrap;
}

.wholesale-product-img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    flex: 0 0 64px;
    border-radius: 8px;
    object-fit: cover;
    background: #eef2ea;
}

.wholesale-image-placeholder {
    width: 64px;
    height: 64px;
    min-width: 64px;
    flex: 0 0 64px;
    border-radius: 8px;
    background: #eef2ea;
    color: #91a08b;
}

.wholesale-image-button {
    display: block;
    flex: 0 0 64px;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
}

.wholesale-image-button:focus-visible {
    outline: 2px solid #1f6b4d;
    outline-offset: 2px;
}

.wholesale-image-button:hover .wholesale-product-img {
    filter: brightness(0.92);
}

.wholesale-qty {
    width: 62px;
}

.wholesale-quantity-control {
    width: 156px;
}

.wholesale-row-selected > td {
    background: #f0f7f2;
}

.wholesale-order-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem;
}

.wholesale-order-summary strong:last-child {
    color: #176b43;
    font-size: 1.05rem;
}

.wholesale-order-summary-separator {
    color: #adb5bd;
}

.wholesale-review-list {
    display: grid;
    gap: .75rem;
}

.wholesale-review-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px auto;
    gap: .75rem;
    align-items: start;
    padding-bottom: .75rem;
    border-bottom: 1px solid #e7ece8;
}

.wholesale-review-item:last-child {
    border-bottom: 0;
}

.wholesale-review-item-controls {
    min-width: 0;
}

.wholesale-review-remove {
    width: 34px;
    height: 34px;
}

.wholesale-review-comment {
    grid-column: 1 / -1;
}

.wholesale-review-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 2px solid #d9e7dc;
}

.wholesale-review-total strong {
    color: #176b43;
    font-size: 1.15rem;
}

.wholesale-checkout-summary {
    border-bottom: 1px solid #dfe7e1;
    padding-bottom: 1rem;
}

.wholesale-checkout-lines {
    display: grid;
    gap: .35rem;
    max-height: 180px;
    overflow-y: auto;
}

.wholesale-checkout-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .9rem;
}

.wholesale-comment {
    min-width: 180px;
}

.wholesale-details-link {
    color: inherit;
    text-decoration: none;
}

.wholesale-details-link:hover,
.wholesale-details-link:focus-visible {
    color: #1f6b4d;
    text-decoration: underline;
}

.wholesale-details-image {
    height: min(52vh, 440px);
    object-fit: contain;
}

.wholesale-submit-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(0, 0, 0, .08);
    backdrop-filter: blur(8px);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .08);
    z-index: 1030;
}

.wholesale-muted {
    color: #6c757d;
}

.wholesale-apply-hero {
    position: relative;
    min-height: 540px;
    background: url('/images/wholesale/wholesale-flowers-hero.png') center center / cover no-repeat;
    display: flex;
    align-items: stretch;
    isolation: isolate;
}

.wholesale-apply-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 22, 17, .18);
    content: "";
}

.wholesale-apply-hero-content {
    width: min(100%, 600px);
    min-height: 540px;
    padding: 48px 0 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wholesale-apply-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
    text-shadow: 0 3px 7px rgba(0, 0, 0, .9), 0 0 1px #000;
}

.wholesale-apply-lead {
    max-width: 540px;
    margin: 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.55;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .9), 0 0 1px #000;
}

.wholesale-apply-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.wholesale-apply-point {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    border-top: 2px solid #f2dfbe;
    padding-top: 11px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .92), 0 0 1px #000;
}

.wholesale-apply-point i {
    flex: 0 0 auto;
    color: #f2dfbe;
    font-size: 18px;
}

.wholesale-apply-hero-link {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 3px 6px rgba(0, 0, 0, .92), 0 0 1px #000;
}

.wholesale-apply-benefits {
    padding: 56px 0 48px;
    background: #fff;
}

.wholesale-apply-section-intro {
    max-width: 760px;
    margin-bottom: 30px;
}

.wholesale-apply-section-intro h2,
.wholesale-apply-form-heading h2 {
    margin-bottom: 10px;
    color: #1d2b28;
    font-size: 28px;
}

.wholesale-apply-section-intro p {
    margin: 0;
    color: #626a67;
    font-size: 17px;
    line-height: 1.55;
}

.wholesale-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
}

.wholesale-benefit {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    border-top: 1px solid #dfe6e1;
    padding: 24px 0 26px;
}

.wholesale-benefit-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #cddcd2;
    border-radius: 6px;
    background: #edf4ef;
    color: #176b43;
    font-size: 21px;
}

.wholesale-benefit h3 {
    margin: 0 0 7px;
    color: #263430;
    font-size: 18px;
}

.wholesale-benefit p {
    margin: 0;
    color: #626a67;
    line-height: 1.55;
}

.wholesale-apply-form-section {
    padding: 52px 0 64px;
    background: #f6f7f4;
}

.wholesale-apply-form-heading {
    max-width: 660px;
}

.wholesale-apply-note {
    border-left: 3px solid #c7773d;
    padding-left: 18px;
    color: #4d514f;
    line-height: 1.55;
}

.wholesale-apply-note li + li {
    margin-top: 8px;
}

.wholesale-apply-legal {
    max-width: 650px;
    color: #737a77;
    font-size: 13px;
    line-height: 1.5;
}

.wholesale-apply-legal a {
    color: #496258;
}

@media (max-width: 767.98px) {
    .wholesale-shell {
        background: #fff;
        padding-bottom: 16px;
    }

    .wholesale-table {
        border: 0;
    }

    .wholesale-product-img,
    .wholesale-image-placeholder {
        width: 54px;
        height: 54px;
        min-width: 54px;
        flex-basis: 54px;
    }

    .wholesale-image-button {
        flex-basis: 54px;
    }

    .wholesale-qty {
        width: 100%;
    }

    .wholesale-quantity-control {
        width: 100%;
    }

    .wholesale-review-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .wholesale-review-item-controls {
        grid-column: 1 / -1;
    }

    .wholesale-review-item-controls .wholesale-quantity-control {
        width: 156px;
    }

    .wholesale-submit-bar {
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }

    .wholesale-apply-hero {
        min-height: 540px;
        background-position: 61% center;
    }

    .wholesale-apply-hero-content {
        min-height: 540px;
        padding: 30px 0 28px;
    }

    .wholesale-apply-hero h1 {
        font-size: 34px;
    }

    .wholesale-apply-lead {
        font-size: 17px;
    }

    .wholesale-apply-points {
        grid-template-columns: 1fr;
        gap: 9px;
        max-width: 300px;
        margin-top: 24px;
    }

    .wholesale-apply-point {
        font-size: 15px;
    }

    .wholesale-apply-benefits {
        padding: 42px 0 34px;
    }

    .wholesale-benefit-grid {
        grid-template-columns: 1fr;
    }

    .wholesale-benefit {
        padding: 20px 0 22px;
    }

    .wholesale-apply-form-section {
        padding: 42px 0 52px;
    }
}
