/* bootstrap overrides */

/* variable overrides */
:root {
    --bs-border-radius: var(--border-radius);
    --bs-primary-rgb: 49,1,124;
    --bs-link-color-rgb: 49,1,124;
    --bs-heading-color: var(--primary-color);
    --bs-body-color: var(--body-text-color);
    --bs-border-color: var(--border-color);
    --bs-warning-rgb: 255,154,4;
    --bs-warning-border-subtle: #FFD18D;
    --bs-warning-bg-subtle: #FFF4E3;
    --bs-warning-text-emphasis: var(--body-text-color);
    --bs-danger-border-subtle: #FFB1C4;
    --bs-danger-bg-subtle: #FFEBF0;
    --bs-danger-text-emphasis: #BE123C;
    --bs-success-border-subtle: #9ED5BB;
    --bs-success-bg-subtle: #ECFDF5;
    --bs-success-text-emphasis: var(--body-text-color);
    --bs-secondary-color: #808080;
    --bs-secondary-bg: #f1f1f1;
}

/* button overrides */
.btn {
    --bs-btn-border-radius: 30px;
    --bs-btn-padding-x: 1.1rem;
    --bs-btn-padding-y: 0.65rem;
    --bs-btn-font-weight: 400;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-btn-font-weight: 500;
}

.btn-outline-primary {
    --bs-btn-color: var(--body-text-color);
    --bs-btn-border-color: var(--primary-color-tint-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 203, 184, 229;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-disabled-color: var(--primary-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--primary-color);
    --bs-btn-font-weight: 500;
}

.btn-link {
    --bs-btn-hover-color: var(--body-text-color);
}

.btn-sm {
    --bs-btn-padding-y: 0.5rem;
}

/* container overrides */

.container {
   --bs-gutter-x: 2rem;
   padding-right: var(--bs-gutter-x);
   padding-left: var(--bs-gutter-x);
   @media (max-width: 992px) {
    --bs-gutter-x: 1rem;
   }
}

/* card overrides */
.card {
    --bs-card-title-color: var(--primary-color);
    --bs-card-border-width: 0;
    --bs-card-cap-bg: #fff;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-padding-y: 0;
    --bs-card-title-spacer-y: 0;
}

.card-header {
    padding-top: 24px;
}

/* table overrides */

.table {
    width: 100%;
    border-collapse: collapse;
}

.table > :not(caption) > * > td {
    padding: 18px 1rem;
    @media (max-width: 768px) {
        padding: 18px 0.5rem;
    }
}

.table > :not(caption) > * > th {
    padding-left: 1rem;
    padding-right: 1rem;
}

thead th {
    --bs-table-bg: #f2f2f2;
    --bs-table-color: #808080;
}

.table thead th:not(:first-child),
.table tbody td:not(:first-child) {
    width: 1%;
    white-space: nowrap;
}

.table :first-child{
    white-space: normal;
}

/* accordion overrides */
.accordion {
    --bs-accordion-active-color: var(--body-text-color);
    --bs-accordion-active-bg: transparent;
    --bs-accordion-bg: transparent;
    --bs-accordion-btn-focus-border-color: var(--border-color);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF9A04'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF9A04'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
    border: none;
}

.accordion-button {
    font-weight: 600;
}

.accordion--support .accordion-button.collapsed {
    font-weight: 300;
}

.accordion--support .accordion-button.collapsed {
    border-bottom: 1px solid var(--border-color);
}

/* breadcrumbs overrides */
.breadcrumb {
    --bs-breadcrumb-font-size: 0.875em;
    --bs-breadcrumb-item-active-color: var(--body-text-color);
    font-weight: 500;
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--body-text-color);
}

/* badges */
.badge {
    --bs-badge-border-radius: 4px;
    --bs-badge-padding-x: 0.5rem;
    --bs-badge-padding-y: 0.5rem;
    letter-spacing: 0.08em;
}

.badge.bg-light-custom {
    background-color: #f1f1f1;
}

/* input group overrides */
.input-group {
    --bs-border-radius: 8px;
    --bs-border-width: 0;
}

.form-control,
.form-select {
    --bs-border-radius: 8px;
    min-height: 44px;
}

/* breadcrumb overrides */
.breadcrumb {
    --bs-breadcrumb-margin-bottom: 0;
}

.breadcrumb a {
    color: var(--body-text-color);
}
/* End bootstrap overrides */

/* Specific section overrides */
.completed-orders table td:last-child {
    padding-right: 0;
}

.orders-stat-segment {
    background: #f2f2f2;
    width: 250px;
}

.activity-log .accordion-button:not(.collapsed) {
    box-shadow: none;
}

.activity-log .card {
    --bs-card-bg: #f1f1f1;
}

.activity-log .card-body {
    --bs-card-spacer-x: 0;
    --bs-card-spacer-y: 0;
}

.activity-log .accordion-body {
    padding-top: 0;
}

.main-padding-top-0 main {
    padding-top: 0;
}

.order-details-buttons-container {
    border-radius: 50px 6px 6px 50px;
}

/* Chat gpt css - will need to review these */


/* STAT BAR */
.stat-bar{
    background:#fff;
    border-radius:var(--border-radius);
    overflow:hidden;
    margin-bottom:24px;
}

.stat-item{
    padding:16px;
    flex:1;
}

.stat-bar .col:not(:last-child){
    border-right:1px solid var(--border-color);
}

.stat-label{
    font-size:11px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#666;
    margin-bottom:12px;
}

.stat-value{
    font-size:36px;
    font-weight:600;
    color:var(--primary-color);
}

/* low stock card */

.low-stock-card{
    display:flex;
    align-items:center;
    gap:10px;
    background:#e9e9ec;
    padding:12px;
    border-radius:8px;
}

.low-stock-text{
  font-size:14px;
}

.low-stock-text a{
    margin-left:8px;
    font-size:13px;
    font-weight:500;
    color:var(--primary-color);
}

/* Shipments panel — Figma 8688:41121 */
.shipments-panel {
    border: 1px solid #e3e3e3;
    box-shadow: none;
}
.shipments-panel-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.33;
    letter-spacing: -0.025em;
}
.shipments-panel-divider {
    border: 0;
    border-top: 1px solid #e3e3e3;
    opacity: 1;
    margin: 0.75rem 0 0;
}
.shipment-group--spaced {
    margin-top: 0.25rem;
}
.shipments-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    line-height: 1;
}
.shipments-status-icon--pending {
    color: var(--bs-warning);
}
.shipments-status-icon--delivered {
    color: var(--bs-success);
}
.shipments-status-text {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: #333;
}
.shipment-product-card {
    background: #f2f2f2;
    border-radius: 4px;
    overflow: hidden;
}
.shipment-thumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.shipment-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: contain;
    background: #f1f1f1;
    mix-blend-mode: multiply;
}
.shipment-product-info-col {
    min-width: 0;
}
.shipment-product-title {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
}
.shipment-product-qty {
    font-size: 0.5625rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #808080;
}
.shipments-tracking-link {
    font-size: 0.5625rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
.shipments-tracking-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Order create — company product list (Figma 9262:20598) */
.company-products-section {
    --company-product-card-max: 332px;
}

.company-products-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 18px 24px 0 24px;
    border-radius: 12px 12px 0 0;
}

.company-products-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) -38.46%, rgba(255, 255, 255, 0) 100%);

}

.company-products-header-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 12px 0;
}

.company-products-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.company-products-subtitle {
    color: #808080;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.company-products-grid {
    margin-top: 0;
}

.company-product-card {
    background: #fff;
    border-radius: 12px;
    border-bottom: 1px solid #e3e3e3;
    padding: 16px;
    max-width: var(--company-product-card-max);
    margin-left: auto;
    margin-right: auto;
}

.company-product-card-body {
    min-height: 0;
}

.company-product-card-media {
    flex: 1 1 auto;
    min-height: 200px;
    background-color: #f1f1f1;
    overflow: hidden;
}

.company-product-card-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: contain;
    mix-blend-mode: multiply;
    border-radius: inherit;
}

.company-product-card-status {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #e3e3e3;
    border-radius: 0 6px 0 6px;
}

.company-product-card-status-icon {
    display: inline-flex;
    font-size: 1rem;
    line-height: 1;
}

.company-product-status {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}

.company-product-name {
    color: #333;
    font-weight: 700;
    font-size: 1.125rem;
}

.company-product-pricing {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    font-size: 10px;
    white-space: nowrap;
}

.company-product-pricing-label {
    color: #808080;
    font-weight: 700;
}

.company-product-pricing-accent {
    color: var(--primary-color);
    font-weight: 700;
}

/* Generic quantity stepper (see initQuantityInputGroups in global_functions.js) */
.quantity-input {
    width: 100%;
    min-height: 40px;
    padding: 6px 12px;
    gap: 4px;
    justify-content: space-between;
    border: 1px solid var(--primary-color-tint-dark);
    border-radius: 6px;
    background-color: #fff;
}

.quantity-input__middle {
    width: 80px;
    padding: 6px;
}

.quantity-input__field {
    width: 100%;
    margin: 0;
    padding: 4px 2px;
    font-size: 14px;
    line-height: 17px;
    color: var(--primary-color);
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}

.quantity-input__btn {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.product-order.selected {
    border: 1px solid var(--secondary-color);
    position: relative;
}

.product-order.selected::before {
    content: "\2713";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.product-order.selected .quantity-input {
    border-color: var(--secondary-color);
}

.product-order--request {
    border: 1px dashed var(--tertiary-color);
    min-height: 400px;
}

/* Order create — selected items + order details (planned shipments card) */
.order-create-planned-card {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 16px 24px;
}

@media (min-width: 768px) {
    .order-create-planned-card {
        padding: 32px 24px 28px;
    }
}

.order-create-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    opacity: 1;
}

.order-create-product-index {
    width: 24px;
    background-color: #f2f2f2;
    border-radius: 4px;
}

.order-create-product-index-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.order-create-thumb {
    width: 138px;
    height: 138px;
    background-color: #f1f1f1;
}

.order-create-product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
}

.order-create-pricing-strip {
    font-size: 10px;
    font-weight: 700;
    color: #808080;
}

.order-create-price-accent {
    color: var(--primary-color);
}

.order-create-size-stack {
    width: 4.3rem;
    min-width: 3.25rem;
    flex: 0 0 auto;
}

.order-create-size-qty.form-control {
    min-height: 31px;
    padding: 4px 2px;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff;
    border-color: var(--border-color) !important;
    border-radius: 6px 6px 0 0 !important;
    box-shadow: none;
    width: 100%;
    text-align: center;
}

.order-create-size-qty.form-control:focus {
    border-color: var(--primary-color-tint-dark);
    box-shadow: 0 0 0 0.15rem rgba(92, 0, 204, 0.12);
    background-color: #fff;
}

.order-create-size-label {
    min-height: 29px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    background-color: #f1f1f1;
    border-radius: 0 0 6px 6px;
}

.order-create-size-stack--muted .order-create-size-qty.form-control {
    opacity: 0.25;
}

.order-create-size-stack--muted .order-create-size-qty.form-control:focus {
    opacity: 1;
}

.order-create-qty-total {
    width: 100%;
    max-width: 9.5rem;
    position: relative;
}

.order-create-qty-total-message {
    position: absolute;
    top: 100%;
}

@media (min-width: 1200px) {
    .order-create-qty-total {
        width: 9rem;
    }
}

.order-create-qty-total-btn {
    width: 2.25rem;
    min-height: 3.75rem;
    background: transparent;
}

.order-create-qty-total-value {
    height: 27px;
    font-size: 14px;
    font-weight: 600;
    width: 70px;
    border-radius: 4px;
    border: 1px solid;
}

.order-create-qty-total--danger {
    color: #be123c;
}

.order-create-qty-total--danger .order-create-qty-total-value {
    border-color: #ffb1c4;
    color: #be123c;
}

.order-create-qty-total--danger .order-create-qty-total-btn {
    color: #be123c;
}

.order-create-qty-total--danger .order-create-qty-selector {
    background-color: #ffebf0;
    border: 1px solid #ffb1c4;
}

.order-create-qty-total--success {
    color: #047857;
}

.order-create-qty-total--success .order-create-qty-total-value {
    border-color: #9ed5bb;
    color: #047857;
}

.order-create-qty-total--success .order-create-qty-total-btn {
    color: #047857;
}

.order-create-qty-total--success .order-create-qty-selector {
    background-color: #ecfdf5;
    border: 1px solid #9ed5bb;
}

.order-create-qty-selector {
    border-radius: 6px;
}

.order-create-field-label {
    font-size: 14px;
    font-weight: 600;
}

.order-create-address-edit-btn {
    height: 100%;
    position: absolute;
    top: 0;
    right: 5px;
    background-color: transparent;
    border: none;
}

.order-create-field-hint {
    color: #808080;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
}

.order-create-notes.form-control {
    padding: 16px 12px 6px;
    font-size: 14px;
    font-weight: 500;
    resize: vertical;
}

.order-create-notes::placeholder {
    color: #808080;
}

.order-create-details-block .form-control,
.order-create-details-block .input-group-text {
    background-color: #f1f1f1;
}

.order-create-details-block .input-group input {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Order create — read-only review summary (sizes + logistics + totals) */
.order-create-review-table-wrap {
    overflow-x: auto;
    margin-inline: -4px;
    padding-inline: 4px;
}

.order-create-review-table-head,
.order-create-review-line {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(160px, 1.2fr) minmax(120px, 0.6fr) 4.5rem 5.75rem;
    gap: 12px 16px;
    align-items: center;
    min-width: min(100%, 720px);
}

.order-create-review-table-head {
    background-color: #f2f2f2;
    padding: 8px 12px;
    border-radius: 6px 6px 0 0;
}

.order-create-review-head-placeholder {
    min-height: 1px;
}

.order-create-review-col-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #808080;
}

.order-create-review-col-label--artwork {
    text-align: center;
}

.order-create-review-line__product {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.order-create-review-product-text {
    min-width: 0;
    align-self: center;
}

.order-create-product-sku {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #808080;
}

.order-create-size-qty-display {
    box-sizing: border-box;
    min-height: 31px;
    padding: 4px 2px;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px 6px 0 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-create-size-stack--muted .order-create-size-qty-display {
    opacity: 0.25;
}

.order-create-review-line__sizes {
    align-self: center;
}

.order-create-review-line__artwork {
    text-align: center;
    align-self: center;
}

.order-create-review-artwork-name {
    font-size: 14px;
    font-weight: 500;
}

.order-create-review-line__units,
.order-create-review-line__total {
    font-size: 14px;
    font-weight: 500;
    align-self: center;
}

.order-create-review-static {
    background-color: #f2f2f2;
    border-radius: 8px;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
}

.order-create-review-static--notes {
    min-height: 140px;
    padding-top: 16px;
}

.order-create-review-notes-placeholder {
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    color: #808080;
}

.order-create-order-totals__heading {
    color: var(--primary-color);
    font-weight: 700;
}

.order-create-order-totals__row {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.order-create-order-totals__label {
    flex: 1 1 auto;
    text-align: right;
}

.order-create-order-totals__value {
    flex: 0 0 6.5rem;
    text-align: right;
}

.order-create-order-totals__row--grand {
    background-color: #f1f1f1;
    border-radius: 6px;
    border-bottom: 0;
    padding: 10px 12px;
    font-weight: 600;
}

@media (max-width: 991.98px) {

    .order-create-review-table-head,
    .order-create-review-line {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .order-create-review-table-head {
        display: none;
    }

    .order-create-review-line__sizes {
        padding-block: 4px;
    }

    .order-create-review-line__artwork {
        text-align: left;
    }

    .order-create-review-line__units,
    .order-create-review-line__total {
        text-align: left !important;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .order-create-review-line__units::before {
        content: "Units";
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: #808080;
    }

    .order-create-review-line__total::before {
        content: "Total";
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: #808080;
    }
}

/* StatTopBar — order create progress (Figma Mercha UX v2, node 8471-12295) */
.stat-top-bar {
    --stat-top-bar-bg: #f2f2f2;
    --stat-top-bar-border: #e3e3e3;
    --stat-top-bar-text: #333333;
    --stat-top-bar-text-muted: #b3b3b3;
    --stat-top-bar-accent: var(--tertiary-color);
    background-color: var(--stat-top-bar-bg);
    border-color: var(--stat-top-bar-border) !important;
    border-width: 0 0 1px;
    border-style: solid;
    border-radius: 12px;
    padding: 40px 32px 32px;
}

.stat-top-bar__steps {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.stat-top-bar__label {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    min-height: 16px;
}

.stat-top-bar__label--active .stat-top-bar__label-text {
    color: var(--stat-top-bar-text);
}

.stat-top-bar__label--muted .stat-top-bar__label-text {
    color: var(--stat-top-bar-text-muted);
}

.stat-top-bar__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.stat-top-bar__icon--mark img {
    display: block;
    width: 16px;
    height: 16px;
}

.stat-top-bar__track {
    height: 5px;
    border-radius: 2px;
    align-self: stretch;
}

.stat-top-bar__track--complete {
    background-color: var(--stat-top-bar-accent);
}

.stat-top-bar__track--pending {
    background-color: var(--stat-top-bar-border);
}

.stat-top-bar__track--split {
    height: 5px;
    gap: 0;
    overflow: hidden;
    border-radius: 2px;
}

.stat-top-bar__track-fill {
    flex: 0 0 40%;
    max-width: 40%;
    background-color: var(--stat-top-bar-accent);
    height: 5px;
}

.stat-top-bar__track-rest {
    flex: 1 1 auto;
    background-color: var(--stat-top-bar-border);
    height: 5px;
}

/* Order create — fixed bottom summary dock (Figma Mercha UX v2, node 8555-52278) */
.order-create-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background-color: #fff;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -8px 24px rgba(49, 1, 124, 0.08);
}

body.order-create-sticky-bar-visible {
    padding-bottom: max(108px, calc(96px + env(safe-area-inset-bottom, 0px)));
}

@media (min-width: 768px) {
    body.order-create-sticky-bar-visible {
        padding-bottom: max(120px, calc(104px + env(safe-area-inset-bottom, 0px)));
    }
}

/* Mobile sticky bar */
.mobile-sticky-bar{
width:100%;
background:white;
padding:14px 16px;
border-top:1px solid #e9e9e9;
box-shadow:0 -4px 12px rgba(0,0,0,0.05);
}

.sticky-action-btn{
border-radius:30px;
padding:14px;
font-weight:500;
}

/* Prevent content from being hidden behind sticky bar */

@media (max-width:992px){

body{
padding-bottom:80px;
}

}

/* User profile — read-only details card (Figma Mercha UX v2, node 8383:13122) */

.user-profile-card-body {
    padding: 32px 24px;
}

.user-profile-divider {
    border: 0;
    border-top: 1px solid #e3e3e3;
    margin: 0;
}

.user-profile-footnote {
    font-size: 13px;
    font-weight: 300;
}

/* Invite user modal (Figma Mercha UX v2, node 8383:13996) */
.invite-user-modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.invite-user-modal-body {
    padding: 40px 32px 32px;
}

.invite-user-modal-btn-cancel {
    color: var(--primary-color);
    border: 0;
    background: transparent;
}

.invite-user-modal-body .form-control,
.invite-user-modal-body .form-select {
    background-color: #f1f1f1;
}

/* Products — detail off-canvas body (Mercha UX v2, Figma node 7917-15731) */
.product-detail-drawer.offcanvas-end {
    width: min(100vw - 1rem, 400px);
    max-width: 100%;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.06);
}

.product-detail-drawer .offcanvas-header {
    padding: 1rem;
}

.product-detail-drawer__body {
    padding: 1rem;
    min-height: calc(100vh - 5rem);
}

.product-detail-drawer__media .js-product-drawer-img {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.product-detail-drawer__pricing .company-product-pricing-label {
    font-size: 10px;
}


/* Proof review */
@media (max-width: 992px) {
    #proof-review-image-container {
        position: initial !important;
    }
    #proof-review-image-container:before {
        content: none !important;
    }
    #proof-review-image-container>* {
        position: initial !important;
    }
}

/* Quotes view */
.size-qty-boxes {
    width: 70px;
}