.articon-orders {
    --articon-bg: #f7f9fc;
    --articon-border: #d8dee8;
    --articon-border-strong: #c8d1dc;
    --articon-heading: #233449;
    --articon-muted: #667085;
    --articon-row: #fbfcfe;
    --articon-accent: #0f5f9f;
    color: #10243d;
    margin-top: 4px;
    max-width: none;
    width: 100%;
}

.articon-orders,
.articon-orders * {
    box-sizing: border-box;
}

.articon-orders__header {
    align-items: center;
    background: #fff;
    border: 1px solid var(--articon-border);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 18px 20px;
}

.articon-orders__header h2 {
    color: var(--articon-heading);
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.articon-orders__header p {
    align-items: center;
    color: var(--articon-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.articon-orders__code,
.articon-orders__count,
.articon-orders__submitted-chip {
    background: #eef3f8;
    border: 1px solid var(--articon-border);
    color: #2c4562;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 8px;
    text-transform: uppercase;
}

.articon-orders__submitted-chip {
    background: #e9f7ef;
    border-color: #b7dec4;
    color: #216338;
}

.articon-orders .button,
.articon-orders button.button {
    border: 0;
    box-shadow: none;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0;
    min-height: 38px;
    padding: 9px 14px;
    text-transform: uppercase;
    transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.articon-orders__actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.articon-orders .articon-orders__clear.button {
    align-self: center;
    background: #fff !important;
    border: 1px solid var(--articon-border-strong) !important;
    color: #405267 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    margin-top: 8px;
    min-height: 36px !important;
    padding: 9px 14px !important;
    white-space: nowrap;
}

.articon-orders .articon-orders__submit.button {
    background: var(--articon-accent);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    min-height: 46px;
    min-width: 145px;
    padding: 14px 18px;
    white-space: nowrap;
}

.articon-orders .articon-orders__submit.button:hover,
.articon-orders .articon-orders__submit.button:focus {
    background: #0b4d82;
    box-shadow: 0 4px 10px rgba(15, 95, 159, 0.18);
    color: #fff;
}

.articon-orders .articon-orders__submit.button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.articon-orders .articon-orders__new-period.button {
    background: #fff !important;
    border: 1px solid var(--articon-border-strong) !important;
    border-radius: 6px !important;
    color: #054565 !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1;
    min-height: 36px !important;
    min-width: 70px;
    padding: 10px 14px !important;
    text-align: center;
    white-space: nowrap;
}

.articon-orders .articon-orders__new-period.button:hover,
.articon-orders .articon-orders__new-period.button:focus {
    background: #eef8fb !important;
    border-color: #56D0F1 !important;
    color: #043a56 !important;
}

.articon-orders .articon-orders__new-period.button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.articon-orders .articon-orders__submit-all.button,
.articon-orders .articon-orders__reopen-all.button {
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1;
    min-height: 36px !important;
    min-width: 104px;
    padding: 10px 14px !important;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.articon-orders .articon-orders__submit-all.button {
    background: var(--articon-accent) !important;
    border: 1px solid var(--articon-accent) !important;
    color: #fff !important;
}

.articon-orders .articon-orders__submit-all.button:hover,
.articon-orders .articon-orders__submit-all.button:focus {
    background: #0b4d82 !important;
    border-color: #0b4d82 !important;
    color: #fff !important;
}

.articon-orders .articon-orders__reopen-all.button {
    background: #fff !important;
    border: 1px solid var(--articon-border-strong) !important;
    color: #2c4562 !important;
}

.articon-orders .articon-orders__reopen-all.button:hover,
.articon-orders .articon-orders__reopen-all.button:focus {
    background: #eef3f8 !important;
    border-color: #9aa8b8 !important;
    color: #20364f !important;
}

.articon-orders .articon-orders__submit-all.button:disabled,
.articon-orders .articon-orders__reopen-all.button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.articon-orders .articon-orders__reopen.button {
    background: #fff !important;
    border: 1px solid var(--articon-border-strong) !important;
    color: #2c4562 !important;
    font-size: 13px;
    line-height: 1;
    margin-top: 10px;
    min-height: 38px;
    min-width: 120px;
    padding: 12px 15px;
    text-align: center;
    white-space: nowrap;
}

.articon-orders .articon-orders__reopen.button:hover,
.articon-orders .articon-orders__reopen.button:focus {
    background: #eef3f8 !important;
    border-color: #9aa8b8 !important;
    color: #20364f !important;
}

.articon-orders__notice,
.articon-orders__submitted-note {
    border: 1px solid var(--articon-border);
    margin-bottom: 14px;
    padding: 11px 13px;
    white-space: pre-line;
}

.articon-orders__notice--success,
.articon-orders__submitted-note {
    background: #f0faf3;
    border-color: #b7dec4;
    color: #216338;
}

.articon-orders__notice--error {
    background: #fff4f2;
    border-color: #f3b3aa;
    color: #9f2d20;
}

.articon-orders__submitted-note span {
    display: inline-block;
    font-weight: 700;
    margin-left: 8px;
}

.articon-orders .articon-orders__clear.button:hover,
.articon-orders .articon-orders__clear.button:focus {
    background: #f3f6f9 !important;
    border-color: #9aa8b8 !important;
    color: #20364f !important;
}

.articon-orders__panel {
    background: var(--articon-bg);
    border: 1px solid var(--articon-border);
    margin-bottom: 18px;
    padding: 18px 20px;
}

.articon-orders__city-form {
    align-items: center;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: 84px minmax(280px, 420px);
    margin: 0 0 18px;
}

.articon-orders__city-form label,
.articon-orders__details strong {
    color: var(--articon-heading);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.articon-orders__city-select,
.articon-orders__period {
    background-color: #fff;
    border: 1px solid var(--articon-border-strong);
    color: #172b45;
    font-size: 15px;
    line-height: 1.25;
    min-height: 44px;
    padding: 9px 12px;
    width: 100%;
}

.articon-orders__details {
    border-top: 1px solid var(--articon-border);
    display: grid;
    gap: 14px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 16px;
}

.articon-orders__details div {
    min-width: 0;
}

.articon-orders__details strong {
    display: block;
    margin-bottom: 5px;
}

.articon-orders__details span {
    color: #1c2f48;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.articon-orders__table-wrap {
    border: 1px solid var(--articon-border-strong);
    border-bottom: 0;
    overflow-x: visible;
}

.articon-orders table.articon-orders__table {
    background: #fff;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    table-layout: fixed;
    width: 100%;
}

.articon-orders__table th,
.articon-orders__table td {
    border-bottom: 1px solid var(--articon-border);
    line-height: 1.38;
    padding: 12px 14px;
    vertical-align: middle;
}

.articon-orders__table th {
    background: #eaf0f6;
    border-bottom: 2px solid var(--articon-border-strong);
    color: #12314f;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    padding: 13px 16px;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 2;
}

.articon-orders__table tbody tr:nth-child(even) {
    background: var(--articon-row);
}

.articon-orders__table tbody tr:hover {
    background: #f0f6fb;
}

.articon-orders__table th:first-child,
.articon-orders__table td:first-child {
    padding-left: 22px;
}

.articon-orders__table th:nth-child(1),
.articon-orders__table td:nth-child(1) {
    width: 162px;
}

.articon-orders__table th:nth-child(2),
.articon-orders__table td:nth-child(2) {
    width: 98px;
}

.articon-orders__table th:nth-child(3),
.articon-orders__table td:nth-child(3) {
    text-align: center;
    width: 72px;
}

.articon-orders__table th:nth-child(4),
.articon-orders__table td:nth-child(4) {
    width: auto;
}

.articon-orders__table th:nth-child(5),
.articon-orders__table td:nth-child(5) {
    width: 118px;
}

.articon-orders__table th:nth-child(6),
.articon-orders__table th:nth-child(7),
.articon-orders__table td:nth-child(7) {
    text-align: right;
    width: 108px;
}

.articon-orders__table td:nth-child(6) {
    text-align: right;
    width: 108px;
}

.articon-orders__table th:nth-child(7),
.articon-orders__table td:nth-child(7) {
    padding-right: 18px;
}

.articon-orders__image-link {
    display: inline-block;
}

.articon-orders__image,
.articon-orders__image-placeholder {
    background: #fff;
    border: 1px solid var(--articon-border);
    display: inline-block;
    height: 52px;
    width: 52px;
}

.articon-orders__image {
    object-fit: contain;
    padding: 4px;
}

.articon-orders__image-placeholder {
    background:
        linear-gradient(135deg, transparent 48%, #c8d0da 49%, #c8d0da 51%, transparent 52%),
        #f4f6f8;
}

.articon-orders__description {
    color: #112b48;
    font-weight: 500;
    min-width: 290px;
    overflow-wrap: anywhere;
}

.articon-orders__description a {
    color: inherit;
    text-decoration: none;
}

.articon-orders__description a:hover,
.articon-orders__description a:focus {
    color: var(--articon-accent);
    text-decoration: underline;
}

.articon-orders__quantity,
.articon-orders__text-field {
    background: #fff;
    border: 1px solid var(--articon-border-strong);
    min-height: 38px;
    padding: 8px 10px;
    width: 100%;
}

.articon-orders__quantity {
    text-align: right;
    width: 76px;
}

.articon-orders__quantity:focus,
.articon-orders__text-field:focus,
.articon-orders__city-select:focus,
.articon-orders__period:focus,
.articon-orders__search-input:focus {
    border-color: var(--articon-accent);
    box-shadow: 0 0 0 2px rgba(15, 95, 159, 0.12);
    outline: 0;
}

.articon-orders__quantity:invalid {
    border-color: #b42318;
}

.articon-orders__quantity:disabled,
.articon-orders__text-field:disabled {
    background: #f3f6f9;
    color: #405267;
}

.articon-orders__add {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--articon-border-strong);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px;
}

.articon-orders__add-button {
    background: #6f8397 !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    min-height: 48px !important;
    min-width: 154px;
    padding: 15px 17px !important;
}

.articon-orders__add-button:hover,
.articon-orders__add-button:focus {
    background: #5d7185 !important;
    box-shadow: 0 4px 10px rgba(64, 82, 103, 0.18);
    color: #fff !important;
}

.articon-orders__search {
    flex: 1 1 420px;
    max-width: 620px;
    position: relative;
}

.articon-orders__search-input {
    border: 1px solid var(--articon-border-strong);
    min-height: 40px;
    padding: 8px 11px;
    width: 100%;
}

.articon-orders__results {
    background: #fff;
    border: 1px solid var(--articon-border-strong);
    box-shadow: 0 14px 28px rgba(16, 24, 40, 0.16);
    left: 0;
    max-height: 340px;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    z-index: 20;
}

.articon-orders__add-notice {
    background: #fff5f3;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #b42318;
    flex: 0 0 100%;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 2px;
    opacity: 1;
    padding: 10px 12px;
    transform: translateY(0);
    transition: opacity 300ms ease, transform 300ms ease;
}

.articon-orders__add-notice.is-hiding {
    opacity: 0;
    transform: translateY(4px);
}

.articon-orders__add-notice[hidden] {
    display: none;
}

.articon-orders__result {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--articon-border);
    color: #182b45;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    min-height: 68px;
    padding: 10px 14px;
    text-align: left;
    width: 100%;
}

.articon-orders__result:hover,
.articon-orders__result:focus {
    background: #f0f6fb;
}

.articon-orders__result-thumb {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid var(--articon-border);
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.articon-orders__result img,
.articon-orders__result-thumb > span {
    border: 0;
    display: block;
    height: 38px;
    object-fit: contain;
    width: 38px;
}

.articon-orders__result-main {
    min-width: 0;
}

.articon-orders__result strong,
.articon-orders__result small {
    display: block;
    min-width: 0;
}

.articon-orders__result strong {
    color: #10243d;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.articon-orders__result small {
    color: var(--articon-muted);
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
    text-transform: uppercase;
}

.articon-orders__result-price {
    color: #20364f;
    font-size: 12px;
    font-weight: 800;
    justify-self: end;
    white-space: nowrap;
}

.articon-orders__result--message {
    cursor: default;
    display: block;
    min-height: 0;
}

.articon-orders__row-highlight {
    animation: articon-orders-highlight 0.9s ease;
}

@keyframes articon-orders-highlight {
    0% {
        background: #fff4c7;
    }
    100% {
        background: transparent;
    }
}

@media (min-width: 1024px) {
    .articon-orders {
        width: min(calc(100% + 180px), calc(100vw - 82px));
    }
}

@media (max-width: 768px) {
    .articon-orders__header,
    .articon-orders__add {
        display: block;
    }

    .articon-orders__clear,
    .articon-orders__search {
        margin-top: 12px;
    }

    .articon-orders__city-form,
    .articon-orders__details {
        display: block;
    }

    .articon-orders__city-form label,
    .articon-orders__details div + div {
        margin-top: 12px;
    }

    .articon-orders__table-wrap {
        overflow-x: auto;
    }

    .articon-orders table.articon-orders__table {
        min-width: 860px;
    }
}

/* ==========================================================
   Articon-style visual refresh
   CSS-only override: no PHP or JavaScript behavior changed.
   ========================================================== */

.articon-orders {
    --articon-bg: #f5f4f3;
    --articon-border: #e3e7ea;
    --articon-border-strong: #cfd8dd;
    --articon-heading: #054565;
    --articon-muted: #6e7c86;
    --articon-row: #fafafa;
    --articon-accent: #ea3100;
    --articon-navy: #054565;
    --articon-navy-dark: #03344c;
    --articon-red-dark: #c92900;
    --articon-surface: #ffffff;
    --articon-shadow: 0 10px 30px rgba(5, 69, 101, 0.07);
    color: #20323d;
    font-size: 14px;
}

.articon-orders__header,
.articon-orders__panel,
.articon-orders__table-wrap,
.articon-orders__add {
    background: var(--articon-surface);
    border: 1px solid var(--articon-border);
    box-shadow: var(--articon-shadow);
}

.articon-orders__header {
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 24px 26px;
    position: relative;
    overflow: hidden;
}

.articon-orders__header::before {
    background: var(--articon-accent);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.articon-orders__header h2 {
    color: var(--articon-navy);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.articon-orders__header p {
    color: #5f6f79;
    gap: 7px;
}

.articon-orders__code,
.articon-orders__count,
.articon-orders__submitted-chip {
    background: #f2f7f9;
    border: 1px solid #dce8ed;
    border-radius: 999px;
    color: var(--articon-navy);
    font-size: 11px;
    font-weight: 700;
    padding: 7px 10px;
}

.articon-orders .articon-orders__submit.button {
    background: var(--articon-accent) !important;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(234, 49, 0, 0.18);
    font-size: 13px;
    min-height: 46px;
    min-width: 150px;
    padding: 14px 20px;
}

.articon-orders .articon-orders__submit.button:hover,
.articon-orders .articon-orders__submit.button:focus {
    background: var(--articon-red-dark) !important;
    box-shadow: 0 8px 20px rgba(234, 49, 0, 0.24);
    transform: translateY(-1px);
}

.articon-orders__panel {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 24px 26px;
}

.articon-orders__city-form {
    gap: 12px 18px;
    grid-template-columns: 86px minmax(300px, 460px);
    margin-bottom: 22px;
}

.articon-orders__city-form label,
.articon-orders__details strong {
    color: var(--articon-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.articon-orders__city-select,
.articon-orders__period,
.articon-orders__quantity,
.articon-orders__text-field,
.articon-orders__search-input {
    background: #fff;
    border: 1px solid #cbd8de;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(5, 69, 101, 0.025);
}

.articon-orders__city-select,
.articon-orders__period {
    color: #20323d;
    min-height: 46px;
    padding: 10px 13px;
}

.articon-orders__city-select:hover,
.articon-orders__period:hover,
.articon-orders__quantity:hover,
.articon-orders__text-field:hover {
    border-color: #9fb5bf;
}

.articon-orders__quantity:focus,
.articon-orders__text-field:focus,
.articon-orders__city-select:focus,
.articon-orders__period:focus,
.articon-orders__search-input:focus {
    border-color: var(--articon-navy);
    box-shadow: 0 0 0 3px rgba(5, 69, 101, 0.10);
}

.articon-orders__details {
    border-top: 1px solid #e8ecee;
    gap: 20px 42px;
    padding-top: 20px;
}

.articon-orders__details div {
    padding: 2px 0;
}

.articon-orders__details strong {
    margin-bottom: 7px;
}

.articon-orders__details span {
    color: #263b47;
    font-size: 14px;
}

.articon-orders__table-wrap {
    border-bottom: 1px solid var(--articon-border);
    border-radius: 8px;
    overflow: hidden;
}

.articon-orders table.articon-orders__table {
    border-radius: 8px;
}

.articon-orders__table th {
    background: var(--articon-navy);
    border-bottom: 0;
    color: #fff;
    font-size: 10.5px;
    letter-spacing: 0.035em;
    padding-bottom: 15px;
    padding-top: 15px;
}

.articon-orders__table th:first-child {
    border-top-left-radius: 7px;
}

.articon-orders__table th:last-child {
    border-top-right-radius: 7px;
}

.articon-orders__table td {
    border-bottom-color: #edf0f2;
    padding-bottom: 14px;
    padding-top: 14px;
}

.articon-orders__table tbody tr:nth-child(even) {
    background: #fbfcfc;
}

.articon-orders__table tbody tr:hover {
    background: #f3f8fa;
}

.articon-orders__table tbody tr:last-child td {
    border-bottom: 0;
}

.articon-orders__image,
.articon-orders__image-placeholder {
    background: #f8fafb;
    border: 1px solid #e4eaed;
    border-radius: 5px;
    height: 56px;
    width: 56px;
}

.articon-orders__image {
    padding: 5px;
}

.articon-orders__description {
    color: #173747;
    font-weight: 600;
    line-height: 1.45;
}

.articon-orders__description a:hover,
.articon-orders__description a:focus {
    color: var(--articon-accent);
    text-decoration: none;
}

.articon-orders__quantity,
.articon-orders__text-field {
    min-height: 40px;
}

.articon-orders__quantity {
    font-weight: 600;
    text-align: center;
}

.articon-orders__table td:nth-child(7) {
    color: var(--articon-navy);
    font-weight: 700;
}

.articon-orders__add {
    border-radius: 8px;
    margin-top: 14px;
    padding: 16px;
}

.articon-orders__add-button {
    background: var(--articon-navy) !important;
    border-radius: 4px !important;
    min-height: 46px !important;
}

.articon-orders__add-button:hover,
.articon-orders__add-button:focus {
    background: var(--articon-navy-dark) !important;
    box-shadow: 0 6px 16px rgba(5, 69, 101, 0.18);
}

.articon-orders__results {
    border-color: #dce3e7;
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(5, 69, 101, 0.14);
    overflow: hidden;
}

.articon-orders__result:hover,
.articon-orders__result:focus {
    background: #f3f8fa;
}

.articon-orders__notice,
.articon-orders__submitted-note {
    border-radius: 6px;
}

.articon-orders--submitted .articon-orders__header::before {
    background: #2f855a;
}

@media (max-width: 768px) {
    .articon-orders__header,
    .articon-orders__panel {
        padding: 20px;
    }

    .articon-orders__header h2 {
        font-size: 24px;
    }

    .articon-orders__actions {
        margin-top: 16px;
    }

    .articon-orders .articon-orders__submit.button {
        width: 100%;
    }
}


/* ==========================================================
   Revision 2 — requested tweaks
   - remove red accents
   - white bordered button, black on hover
   - smaller header / tighter top section
   - light blue table header
   ========================================================== */

.articon-orders {
    --articon-accent: #054565;
    --articon-red-dark: #111111;
    --articon-surface: #ffffff;
}

.articon-orders__header {
    margin-bottom: 12px;
    padding: 14px 18px;
}

.articon-orders__header::before {
    background: #d8e9f5;
    height: 3px;
}

.articon-orders__header h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.articon-orders__header p {
    gap: 6px;
    font-size: 13px;
}

.articon-orders__code,
.articon-orders__count,
.articon-orders__submitted-chip {
    padding: 5px 8px;
}

.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__submit-all.button,
.articon-orders .articon-orders__reopen.button,
.articon-orders .articon-orders__reopen-all.button,
.articon-orders .articon-orders__add-button {
    background: #ffffff !important;
    border: 1px solid #1e2328 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #1e2328 !important;
    font-size: 13px !important;
    font-weight: 700;
    min-height: 42px !important;
    min-width: 148px;
    padding: 12px 18px !important;
    text-transform: uppercase;
}

.articon-orders .articon-orders__submit.button:hover,
.articon-orders .articon-orders__submit.button:focus,
.articon-orders .articon-orders__submit-all.button:hover,
.articon-orders .articon-orders__submit-all.button:focus,
.articon-orders .articon-orders__reopen.button:hover,
.articon-orders .articon-orders__reopen.button:focus,
.articon-orders .articon-orders__reopen-all.button:hover,
.articon-orders .articon-orders__reopen-all.button:focus,
.articon-orders .articon-orders__add-button:hover,
.articon-orders .articon-orders__add-button:focus {
    background: #111111 !important;
    border-color: #111111 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    transform: none;
}

.articon-orders .articon-orders__submit-all.button,
.articon-orders .articon-orders__reopen-all.button {
    border-radius: 6px !important;
    font-size: 12px !important;
    min-height: 38px !important;
    min-width: 112px;
    padding: 11px 15px !important;
}

.articon-orders .articon-orders__submit-all.button {
    background: var(--articon-accent) !important;
    border-color: var(--articon-accent) !important;
    color: #fff !important;
}

.articon-orders .articon-orders__submit-all.button:hover,
.articon-orders .articon-orders__submit-all.button:focus {
    background: #0b4d82 !important;
    border-color: #0b4d82 !important;
    color: #fff !important;
}

.articon-orders .articon-orders__reopen-all.button {
    background: #ffffff !important;
    border-color: #9aa8b8 !important;
    color: #2c4562 !important;
}

.articon-orders .articon-orders__reopen-all.button:hover,
.articon-orders .articon-orders__reopen-all.button:focus {
    background: #eef3f8 !important;
    border-color: #7f8da0 !important;
    color: #20364f !important;
}

.articon-orders__panel {
    margin-bottom: 14px;
    padding: 16px 18px;
}

.articon-orders__city-form {
    gap: 10px 16px;
    margin-bottom: 14px;
}

.articon-orders__city-select,
.articon-orders__period {
    min-height: 42px;
}

.articon-orders__details {
    gap: 14px 28px;
    padding-top: 14px;
}

.articon-orders__details strong {
    margin-bottom: 4px;
}

.articon-orders__table th {
    background: #8fdaf4;
    border-bottom: 1px solid #74cce9;
    color: #054565;
    font-size: 10.5px;
    padding-bottom: 12px;
    padding-top: 12px;
}

.articon-orders__description a:hover,
.articon-orders__description a:focus {
    color: #111111;
}

.articon-orders__table td:nth-child(7) {
    color: #054565;
}

@media (max-width: 768px) {
    .articon-orders__header,
    .articon-orders__panel {
        padding: 16px;
    }

    .articon-orders__header h2 {
        font-size: 20px;
    }

    .articon-orders .articon-orders__submit.button,
    .articon-orders .articon-orders__reopen.button,
    .articon-orders .articon-orders__add-button {
        width: 100%;
    }
}

/* ==========================================================
   Revision 3 — compact account layout
   - hide the large My Account title banner on Corporate Orders only
   - compact City / Period / contact panel
   - table header color #56D0F1
   ========================================================== */

/* The plugin JS adds articon-orders-page to <body>, so these
   rules affect only the Corporate Orders account screen. */
body.articon-orders-page .page-title,
body.articon-orders-page .shop-page-title,
body.articon-orders-page .page-title-wrapper {
    display: none !important;
}

body.articon-orders-page .woocommerce-MyAccount-navigation,
body.articon-orders-page .woocommerce-MyAccount-content {
    margin-top: 0 !important;
}

body.articon-orders-page .page-wrapper {
    padding-top: 18px !important;
}

.articon-orders__panel {
    margin-bottom: 12px;
    padding: 12px 16px;
}

.articon-orders__city-form {
    gap: 6px 14px;
    margin-bottom: 10px;
}

.articon-orders__city-select,
.articon-orders__period {
    min-height: 38px;
    padding: 7px 10px;
}

.articon-orders__details {
    gap: 8px 24px;
    padding-top: 10px;
}

.articon-orders__details strong {
    margin-bottom: 2px;
}

.articon-orders__details span {
    line-height: 1.25;
}

.articon-orders__table th {
    background: #56D0F1;
    border-bottom: 1px solid #42bfdf;
    color: #054565;
}

@media (max-width: 768px) {
    body.articon-orders-page .page-wrapper {
        padding-top: 10px !important;
    }

    .articon-orders__panel {
        padding: 12px;
    }
}

/* ==========================================================
   Revision 4 — Nuvia Orders customer portal
   - full-width page with My Account sidebar hidden
   - Current Order / Order History tabs
   - Location + parent-product filter controls
   - six-column customer table (Vendor SKU stays internal)
   - image lightbox
   ========================================================== */

/* Hide the WooCommerce/Flatsome account navigation only on this plugin page. */
body.articon-orders-page .woocommerce-MyAccount-navigation,
body.articon-orders-page #my-account-nav,
body.articon-orders-page .account-nav,
body.articon-orders-page .account-user {
    display: none !important;
}

body.articon-orders-page .woocommerce-MyAccount-content {
    float: none !important;
    margin-left: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    width: 100% !important;
}

body.articon-orders-page .articon-orders {
    max-width: none !important;
    width: 100% !important;
}

/* Tabs */
.articon-orders__tabs {
    border-bottom: 1px solid #dce5ea;
    display: flex;
    gap: 4px;
    margin: 2px 0 10px;
}

.articon-orders__tab {
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #6e7c86;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    min-height: 40px;
    padding: 9px 15px 10px;
}

.articon-orders__tab:hover,
.articon-orders__tab:focus {
    color: #054565;
    outline: 0;
}

.articon-orders__tab.is-active {
    border-bottom-color: #56D0F1;
    color: #054565;
}

.articon-orders__tab-panel[hidden] {
    display: none !important;
}

/* Current-order controls: Location + parent product filter. */
.articon-orders__city-form.articon-orders__current-controls {
    grid-template-columns: 78px minmax(250px, 1fr) 108px minmax(250px, 1fr);
    margin-bottom: 10px;
}

.articon-orders__product-filter,
.articon-orders__history-location,
.articon-orders__history-period {
    background: #fff;
    border: 1px solid #cbd8de;
    border-radius: 4px;
    color: #20323d;
    font-size: 14px;
    min-height: 38px;
    padding: 7px 10px;
    width: 100%;
}

.articon-orders__product-filter:focus,
.articon-orders__history-location:focus,
.articon-orders__history-period:focus {
    border-color: #054565;
    box-shadow: 0 0 0 3px rgba(5, 69, 101, 0.10);
    outline: 0;
}

/* Contact information fits on one compact row on desktop. */
.articon-orders__details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 22px;
}

/* The customer-facing table now has six visible columns. */
.articon-orders__table th:first-child,
.articon-orders__table td:first-child {
    padding-left: 18px;
}

.articon-orders__table th:nth-child(1),
.articon-orders__table td:nth-child(1) {
    text-align: left;
    width: 112px;
}

.articon-orders__table th:nth-child(2),
.articon-orders__table td:nth-child(2) {
    text-align: center;
    width: 82px;
}

.articon-orders__table th:nth-child(3),
.articon-orders__table td:nth-child(3) {
    text-align: left;
    width: auto;
}

.articon-orders__table th:nth-child(4),
.articon-orders__table td:nth-child(4) {
    text-align: left;
    width: 135px;
}

.articon-orders__table th:nth-child(5),
.articon-orders__table td:nth-child(5) {
    text-align: center;
    width: 108px;
}

.articon-orders__table th:nth-child(6),
.articon-orders__table td:nth-child(6) {
    padding-right: 18px;
    text-align: right;
    width: 125px;
}

.articon-orders__table td:nth-child(6) {
    color: #054565;
    font-weight: 700;
}

.articon-orders__filter-empty td,
.articon-orders__history-empty-cell {
    color: #6e7c86;
    padding: 24px !important;
    text-align: center !important;
}

/* Image is a zoom control; description remains the product-page link. */
.articon-orders button.articon-orders__image-link,
.articon-orders__image-zoom {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: zoom-in;
    min-height: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
}

.articon-orders__image-zoom:hover .articon-orders__image,
.articon-orders__image-zoom:focus .articon-orders__image {
    border-color: #56D0F1;
    box-shadow: 0 0 0 2px rgba(86, 208, 241, 0.18);
}

/* History controls */
.articon-orders__history-form {
    align-items: center;
    display: grid;
    gap: 8px 14px;
    grid-template-columns: 78px minmax(240px, 360px) 62px minmax(190px, 260px) minmax(220px, 1fr);
}

.articon-orders__history-form > label {
    color: #054565;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.articon-orders__history-summary {
    align-items: center;
    color: #5f6f79;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
    min-width: 0;
}

.articon-orders__history-summary > span:first-child {
    color: #054565;
    font-size: 11px;
    font-weight: 700;
}

.articon-orders__history-summary small {
    color: #7a8790;
    font-size: 11px;
}

.articon-orders__history-empty {
    background: #fff;
    border: 1px solid #e3e7ea;
    border-radius: 8px;
    color: #6e7c86;
    padding: 28px 18px;
    text-align: center;
}

.articon-orders__history-quantity {
    font-weight: 700;
    text-align: center !important;
}

/* Product image lightbox */
html.articon-orders-modal-open,
html.articon-orders-modal-open body,
html.articon-orders-confirm-open,
html.articon-orders-confirm-open body {
    overflow: hidden;
}

.articon-orders__image-modal {
    align-items: center;
    background: rgba(14, 27, 35, 0.76);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 28px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
}

.articon-orders__image-modal[hidden] {
    display: none !important;
}

.articon-orders__image-modal-dialog {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    max-width: 720px;
    padding: 24px;
    position: relative;
    text-align: center;
    width: min(720px, 92vw);
}

.articon-orders__image-modal-close {
    background: transparent !important;
    border: 0 !important;
    color: #4f5f68 !important;
    cursor: pointer;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    min-height: 0 !important;
    padding: 4px 8px !important;
    position: absolute;
    right: 8px;
    top: 5px;
}

.articon-orders__image-modal-image {
    display: block;
    margin: 14px auto 10px;
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
}

.articon-orders__image-modal-caption {
    color: #173747;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

.articon-orders__confirm-modal {
    align-items: center;
    background: rgba(9, 23, 33, 0.56);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000000;
}

.articon-orders__confirm-modal[hidden] {
    display: none !important;
}

.articon-orders__confirm-dialog {
    background: #fff;
    border: 1px solid #d6e2e8;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    max-width: 460px;
    padding: 24px 26px 22px;
    width: min(460px, 92vw);
}

.articon-orders__confirm-dialog h3 {
    color: #054565;
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.articon-orders__confirm-message {
    color: #243b49;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 22px;
}

.articon-orders__confirm-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.articon-orders .articon-orders__confirm-cancel.button,
.articon-orders .articon-orders__confirm-ok.button {
    font-size: 13px !important;
    line-height: 1 !important;
    min-height: 38px !important;
    min-width: 86px;
    padding: 11px 16px !important;
}

.articon-orders .articon-orders__confirm-cancel.button {
    background: #fff !important;
    border: 1px solid #c9d6de !important;
    color: #314a5b !important;
}

.articon-orders .articon-orders__confirm-ok.button {
    background: #0f5f9f !important;
    border: 1px solid #0f5f9f !important;
    color: #fff !important;
}

.articon-orders .articon-orders__confirm-cancel.button:hover,
.articon-orders .articon-orders__confirm-cancel.button:focus {
    background: #f3f7f9 !important;
}

.articon-orders .articon-orders__confirm-ok.button:hover,
.articon-orders .articon-orders__confirm-ok.button:focus {
    background: #0b4d82 !important;
    border-color: #0b4d82 !important;
}

@media (max-width: 900px) {
    .articon-orders__city-form.articon-orders__current-controls,
    .articon-orders__history-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .articon-orders__current-controls label,
    .articon-orders__history-form > label {
        margin-top: 4px !important;
    }

    .articon-orders__history-summary {
        justify-content: flex-start;
        margin-top: 6px;
    }

    .articon-orders__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .articon-orders__details {
        display: grid;
        grid-template-columns: 1fr;
    }

    .articon-orders__tabs {
        width: 100%;
    }

    .articon-orders__tab {
        flex: 1 1 50%;
    }

    .articon-orders__image-modal {
        padding: 14px;
    }

    .articon-orders__image-modal-dialog {
        padding: 18px 14px;
    }
}



/* ==========================================================
   Revision 5 — full-width portal + multi-product filter + reliable history
   ========================================================== */

/* Flatsome keeps My Account content at the original 75% column width even
   after the sidebar is hidden. Force the customer portal column to grow. */
body.articon-orders-page .woocommerce-MyAccount-content,
body.articon-orders-page .woocommerce-MyAccount-content.col,
body.articon-orders-page .woocommerce-MyAccount-content.large-9,
body.articon-orders-page .account-content,
body.articon-orders-page .account-content.col {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.articon-orders-page .woocommerce-MyAccount-content {
    border-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.articon-orders-page .articon-orders {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Multi-select parent-product filter. */
.articon-orders__product-filter {
    min-width: 0;
    position: relative;
    width: 100%;
}

.articon-orders .articon-orders__product-filter-toggle {
    align-items: center;
    background: #fff !important;
    border: 1px solid #cbd8de !important;
    border-radius: 4px !important;
    color: #20323d !important;
    display: flex;
    font-size: 14px !important;
    font-weight: 400 !important;
    justify-content: space-between;
    min-height: 38px !important;
    padding: 7px 11px !important;
    text-align: left;
    text-transform: none !important;
    width: 100%;
}

.articon-orders .articon-orders__product-filter-toggle:hover,
.articon-orders .articon-orders__product-filter-toggle:focus {
    background: #fff !important;
    border-color: #054565 !important;
    box-shadow: 0 0 0 3px rgba(5, 69, 101, 0.10) !important;
    color: #20323d !important;
    outline: 0;
}

.articon-orders__product-filter-caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #50636e;
    flex: 0 0 auto;
    margin-left: 10px;
}

.articon-orders__product-filter-menu {
    background: #fff;
    border: 1px solid #cbd8de;
    border-radius: 6px;
    box-shadow: 0 14px 32px rgba(5, 69, 101, 0.14);
    left: 0;
    min-width: 100%;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    z-index: 50;
}

.articon-orders__product-filter-menu[hidden] {
    display: none !important;
}

.articon-orders__product-filter-options {
    max-height: 280px;
    overflow-y: auto;
}

.articon-orders__product-filter-option {
    align-items: flex-start;
    border-bottom: 1px solid #edf1f3;
    color: #20323d !important;
    cursor: pointer;
    display: flex !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    gap: 9px;
    letter-spacing: 0 !important;
    line-height: 1.3;
    margin: 0 !important;
    padding: 9px 11px;
    text-transform: none !important;
}

.articon-orders__product-filter-option:hover {
    background: #f3fbfe;
}

.articon-orders__product-filter-option input[type="checkbox"] {
    accent-color: #009EDE;
    flex: 0 0 auto;
    height: 15px;
    margin: 1px 0 0;
    width: 15px;
}

.articon-orders__product-filter-option--all {
    background: #f7fbfd;
    font-weight: 700 !important;
}

.articon-orders__product-filter-actions {
    background: #f7f9fa;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 8px 10px;
}

.articon-orders .articon-orders__product-filter-clear,
.articon-orders .articon-orders__product-filter-done {
    border-radius: 4px !important;
    font-size: 11px !important;
    min-height: 30px !important;
    padding: 6px 10px !important;
}

.articon-orders .articon-orders__product-filter-clear {
    background: #fff !important;
    border: 1px solid #cbd8de !important;
    color: #405267 !important;
}

.articon-orders .articon-orders__product-filter-done {
    background: #054565 !important;
    border: 1px solid #054565 !important;
    color: #fff !important;
}

.articon-orders__history-saved-chip {
    background: #f3f6f9;
    border: 1px solid #d4dde3;
    border-radius: 999px;
    color: #50636e;
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding: 5px 8px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    body.articon-orders-page .woocommerce-MyAccount-content,
    body.articon-orders-page .woocommerce-MyAccount-content.col,
    body.articon-orders-page .woocommerce-MyAccount-content.large-9 {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }

    .articon-orders__product-filter-menu {
        position: static;
        margin-top: 5px;
    }
}


/* ==========================================================
   Revision 6 — filter dedupe, compact selection label,
   location-wide history, and true full-width Flatsome layout
   ========================================================== */

/* JS marks the actual Flatsome account row and content column. This removes
   the empty left column that can remain after hiding the account navigation. */
body.articon-orders-page .articon-orders-account-row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.articon-orders-page .articon-orders-sidebar-col {
    display: none !important;
}

body.articon-orders-page .articon-orders-content-col {
    border-left: 0 !important;
    float: none !important;
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

body.articon-orders-page .articon-orders-content-col > .woocommerce,
body.articon-orders-page .articon-orders-content-col .woocommerce-MyAccount-content,
body.articon-orders-page .articon-orders-content-col .account-content,
body.articon-orders-page .articon-orders-content-col .articon-orders {
    max-width: 100% !important;
    width: 100% !important;
}

/* Keep the closed Product Filter control compact even when selected product
   names are very long. The JS summary displays only the selection count. */
.articon-orders__product-filter-summary {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.articon-orders__history-period:disabled {
    background: #f5f7f8;
    color: #79868e;
    cursor: not-allowed;
}

/* ==========================================================
   Revision 7 — bottom submit action
   ========================================================== */
.articon-orders__actions--bottom {
    justify-content: flex-end;
    margin: 18px 0 4px;
}

@media (max-width: 768px) {
    .articon-orders__actions--bottom {
        width: 100%;
    }
}

/* ==========================================================
   Merge v1.7.17 — developer TOTAL/period features
   ========================================================== */
.articon-orders__summary-quantity {
    color: #054565;
    display: block;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: center;
}

.articon-orders__empty-row td {
    color: #5f6f80;
    padding: 28px 22px;
    text-align: center;
}

.articon-orders__results:empty {
    display: none;
}

/* Current-order controls now include Location + Period + Category filter. */
.articon-orders__city-form.articon-orders__current-controls {
    grid-template-columns: 74px minmax(220px, 1fr) 54px minmax(150px, 210px) 104px minmax(220px, 1fr);
}

.articon-orders--summary .articon-orders__table td:nth-child(5) {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .articon-orders__city-form.articon-orders__current-controls {
        grid-template-columns: 74px minmax(220px, 1fr) 54px minmax(150px, 1fr);
    }

    .articon-orders__current-controls > #articon-orders-product-filter-label,
    .articon-orders__current-controls > .articon-orders__product-filter {
        margin-top: 4px;
    }
}

@media (max-width: 900px) {
    .articon-orders__city-form.articon-orders__current-controls {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Revision 1.7.31 — refined top actions and submitted state
   ========================================================== */
.articon-orders .articon-orders__header {
    align-items: center;
    border-color: #d9e6ef;
    box-shadow: 0 10px 26px rgba(16, 42, 67, 0.07);
}

.articon-orders .articon-orders__actions {
    align-items: center;
    gap: 12px;
}

.articon-orders .articon-orders__new-period.button,
.articon-orders .articon-orders__submit-all.button,
.articon-orders .articon-orders__reopen-all.button,
.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__reopen.button {
    border-radius: 7px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    min-height: 38px !important;
    min-width: 104px;
    padding: 11px 17px !important;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__submit-all.button {
    background: #054565 !important;
    border: 1px solid #054565 !important;
    color: #ffffff !important;
}

.articon-orders .articon-orders__submit.button:hover,
.articon-orders .articon-orders__submit.button:focus,
.articon-orders .articon-orders__submit-all.button:hover,
.articon-orders .articon-orders__submit-all.button:focus {
    background: #073a55 !important;
    border-color: #073a55 !important;
    box-shadow: 0 5px 14px rgba(5, 69, 101, 0.18) !important;
    color: #ffffff !important;
}

.articon-orders .articon-orders__new-period.button,
.articon-orders .articon-orders__reopen-all.button,
.articon-orders .articon-orders__reopen.button {
    background: #ffffff !important;
    border: 1px solid #b9c8d4 !important;
    color: #054565 !important;
}

.articon-orders .articon-orders__new-period.button:hover,
.articon-orders .articon-orders__new-period.button:focus,
.articon-orders .articon-orders__reopen-all.button:hover,
.articon-orders .articon-orders__reopen-all.button:focus,
.articon-orders .articon-orders__reopen.button:hover,
.articon-orders .articon-orders__reopen.button:focus {
    background: #f2f8fb !important;
    border-color: #55c7e8 !important;
    box-shadow: 0 5px 14px rgba(85, 199, 232, 0.16) !important;
    color: #043a56 !important;
}

.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__reopen.button {
    min-width: 148px;
}

.articon-orders .articon-orders__submitted-note {
    align-items: center;
    background: #f6f9fc;
    border: 1px solid #d6e4ee;
    border-left: 4px solid #56d0f1;
    border-radius: 7px;
    color: #26465e;
    display: flex;
    gap: 10px;
    line-height: 1.45;
    margin-bottom: 18px;
    padding: 13px 15px;
}

.articon-orders .articon-orders__submitted-note span {
    color: #054565;
    margin-left: 0;
}

/* ==========================================================
   Revision 1.7.32 — blue action group and green submitted note
   ========================================================== */
.articon-orders .articon-orders__header {
    align-items: center;
    gap: 18px;
}

.articon-orders .articon-orders__actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-end;
    margin-left: auto;
}

.articon-orders .articon-orders__new-period.button,
.articon-orders .articon-orders__submit-all.button,
.articon-orders .articon-orders__reopen-all.button,
.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__reopen.button {
    align-items: center;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(16, 86, 132, 0.08) !important;
    display: inline-flex !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    justify-content: center;
    line-height: 1 !important;
    min-height: 42px !important;
    min-width: 112px;
    margin: 0 !important;
    padding: 12px 18px !important;
}

.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__submit-all.button {
    background: #0a83c2 !important;
    border: 1px solid #0a83c2 !important;
    color: #ffffff !important;
}

.articon-orders .articon-orders__submit.button:hover,
.articon-orders .articon-orders__submit.button:focus,
.articon-orders .articon-orders__submit-all.button:hover,
.articon-orders .articon-orders__submit-all.button:focus {
    background: #066da4 !important;
    border-color: #066da4 !important;
    box-shadow: 0 6px 14px rgba(10, 131, 194, 0.18) !important;
    color: #ffffff !important;
}

.articon-orders .articon-orders__new-period.button,
.articon-orders .articon-orders__reopen-all.button,
.articon-orders .articon-orders__reopen.button {
    background: #f3fbff !important;
    border: 1px solid #9bdaf0 !important;
    color: #07577c !important;
}

.articon-orders .articon-orders__new-period.button:hover,
.articon-orders .articon-orders__new-period.button:focus,
.articon-orders .articon-orders__reopen-all.button:hover,
.articon-orders .articon-orders__reopen-all.button:focus,
.articon-orders .articon-orders__reopen.button:hover,
.articon-orders .articon-orders__reopen.button:focus {
    background: #dff6ff !important;
    border-color: #56d0f1 !important;
    box-shadow: 0 6px 14px rgba(86, 208, 241, 0.22) !important;
    color: #034766 !important;
}

.articon-orders .articon-orders__submit.button,
.articon-orders .articon-orders__reopen.button {
    min-width: 150px;
}

.articon-orders .articon-orders__submitted-note {
    align-items: center;
    background: #f0faf3;
    border: 1px solid #b7dec4;
    border-left: 4px solid #34b56a;
    color: #216338;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: flex-start;
    min-height: 68px;
    padding: 14px 15px;
    text-align: left;
}

.articon-orders .articon-orders__submitted-note span {
    align-items: center;
    color: #14552c;
    display: inline-flex;
    font-weight: 800;
    line-height: inherit;
    margin-left: 0;
    transform: translateY(10px);
}

@media (max-width: 900px) {
    .articon-orders .articon-orders__actions {
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-left: 0;
        width: 100%;
    }
}

/* ==========================================================
   Revision 1.7.38 — header meta rows
   ========================================================== */
.articon-orders .articon-orders__meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.articon-orders .articon-orders__meta--primary {
    margin-bottom: 6px;
}

.articon-orders .articon-orders__meta--totals {
    gap: 7px;
    margin-top: 0;
}


/* ==========================================================
   Revision 1.7.40 — compact customer portal polish
   - totals share the month/location line
   - no visible Current Order strip
   - compact right-aligned category filter
   - previous white/black Submit Order design
   - site product navigation hidden by default with Menu toggle
   ========================================================== */

/* Hide only the store-category navigation row on this portal. The logo/search/
   My Account row stays visible. JS toggles this body class when Menu is clicked. */
body.articon-orders-page #wide-nav,
body.articon-orders-page .header-bottom {
    display: none !important;
}

body.articon-orders-page.articon-orders-site-nav-open #wide-nav,
body.articon-orders-page.articon-orders-site-nav-open .header-bottom {
    display: block !important;
}

/* Compact the header without changing the existing card look. */
body.articon-orders-page .articon-orders .articon-orders__header {
    min-height: 0 !important;
    padding: 12px 16px !important;
}

body.articon-orders-page .articon-orders .articon-orders__header h2 {
    margin-bottom: 4px !important;
}

body.articon-orders-page .articon-orders .articon-orders__meta--compact {
    align-items: center;
    column-gap: 7px;
    margin: 0 !important;
    row-gap: 5px;
}

/* Restore the original Submit Order style from the approved design. */
body.articon-orders-page .articon-orders .articon-orders__submit.button,
body.articon-orders-page .articon-orders .articon-orders__actions--bottom .articon-orders__submit.button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #1e2328 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #1e2328 !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 42px !important;
    min-width: 148px !important;
    padding: 12px 18px !important;
    text-transform: uppercase !important;
}

body.articon-orders-page .articon-orders .articon-orders__submit.button:hover,
body.articon-orders-page .articon-orders .articon-orders__submit.button:focus,
body.articon-orders-page .articon-orders .articon-orders__actions--bottom .articon-orders__submit.button:hover,
body.articon-orders-page .articon-orders .articon-orders__actions--bottom .articon-orders__submit.button:focus {
    background: #111111 !important;
    border-color: #111111 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    transform: none !important;
}

/* Small menu reveal button next to Submit Order. */
body.articon-orders-page .articon-orders .articon-orders__site-nav-toggle.button {
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #c4d0d8 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #054565 !important;
    display: inline-flex !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    gap: 6px;
    justify-content: center !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 42px !important;
    min-width: 82px !important;
    padding: 11px 13px !important;
    text-transform: uppercase !important;
}

body.articon-orders-page .articon-orders .articon-orders__site-nav-toggle.button:hover,
body.articon-orders-page .articon-orders .articon-orders__site-nav-toggle.button:focus,
body.articon-orders-page.articon-orders-site-nav-open .articon-orders .articon-orders__site-nav-toggle.button {
    background: #f3f8fb !important;
    border-color: #054565 !important;
    color: #054565 !important;
    box-shadow: none !important;
}

.articon-orders__site-nav-icon {
    font-size: 16px;
    line-height: 1;
}

/* The Current Order tab strip is removed from PHP; keep legacy tabs suppressed
   in case an old cached fragment is briefly restored by the browser. */
body.articon-orders-page .articon-orders__tabs {
    display: none !important;
}

/* One compact control row: Location stays left; Category filter sits on the far right. */
body.articon-orders-page .articon-orders .articon-orders__panel {
    margin-bottom: 12px !important;
    padding: 9px 14px !important;
}

body.articon-orders-page .articon-orders__city-form.articon-orders__current-controls {
    align-items: center;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: 74px minmax(250px, 340px) minmax(30px, 1fr) 96px minmax(180px, 220px) !important;
    margin: 0 !important;
}

body.articon-orders-page .articon-orders__current-controls > label[for="articon-orders-city"] {
    grid-column: 1;
}

body.articon-orders-page .articon-orders__current-controls > .articon-orders__city-select {
    grid-column: 2;
    min-height: 38px !important;
    width: 100%;
}

body.articon-orders-page .articon-orders__current-controls > #articon-orders-product-filter-label {
    grid-column: 4;
    margin: 0 !important;
}

body.articon-orders-page .articon-orders__current-controls > .articon-orders__product-filter {
    background: transparent !important;
    border: 0 !important;
    grid-column: 5;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100%;
}

body.articon-orders-page .articon-orders .articon-orders__product-filter-toggle {
    min-height: 38px !important;
    padding: 7px 10px !important;
}

/* Bring the product table closer now that the tab strip/contact details are gone. */
body.articon-orders-page .articon-orders__tab-panel {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    body.articon-orders-page .articon-orders .articon-orders__header {
        align-items: flex-start !important;
    }

    body.articon-orders-page .articon-orders .articon-orders__actions {
        width: auto !important;
    }

    body.articon-orders-page .articon-orders__city-form.articon-orders__current-controls {
        grid-template-columns: 74px minmax(0, 1fr) !important;
    }

    body.articon-orders-page .articon-orders__current-controls > label[for="articon-orders-city"],
    body.articon-orders-page .articon-orders__current-controls > #articon-orders-product-filter-label,
    body.articon-orders-page .articon-orders__current-controls > .articon-orders__city-select,
    body.articon-orders-page .articon-orders__current-controls > .articon-orders__product-filter {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    body.articon-orders-page .articon-orders .articon-orders__header {
        display: block !important;
    }

    body.articon-orders-page .articon-orders .articon-orders__actions {
        display: flex !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    body.articon-orders-page .articon-orders .articon-orders__submit.button {
        flex: 1 1 auto;
    }

    body.articon-orders-page .articon-orders__city-form.articon-orders__current-controls {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   v1.7.41 — Nuvia spreadsheet-style order sheet
   ========================================================== */
body.articon-orders-page #wide-nav,
body.articon-orders-page .header-bottom {
    display: none !important;
}

body.articon-orders-page .page-wrapper {
    padding-top: 12px !important;
}

body.articon-orders-page .articon-orders.articon-orders--sheet {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111;
    max-width: none !important;
    width: 100% !important;
}

.articon-orders--sheet .articon-orders__sheet-topbar {
    align-items: end;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(210px, 0.9fr) minmax(260px, 1.1fr) minmax(180px, 2fr) auto;
    margin-bottom: 14px;
    padding: 0 0 4px;
}

.articon-orders--sheet .articon-orders__sheet-date,
.articon-orders--sheet .articon-orders__po-field {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 0;
    min-height: 38px;
}

.articon-orders--sheet .articon-orders__sheet-top-label {
    color: #111111;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.articon-orders--sheet .articon-orders__sheet-date strong {
    font-size: 16px;
    font-weight: 500;
}

.articon-orders--sheet .articon-orders__po-number {
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #8b8f93 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 15px !important;
    height: 34px !important;
    margin: 0 !important;
    max-width: 220px;
    min-width: 150px;
    padding: 4px 6px !important;
}

.articon-orders--sheet .articon-orders__sheet-submit {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin: 0 !important;
}

.articon-orders--sheet .articon-orders__submit.button,
.articon-orders--sheet .articon-orders__reopen.button {
    background: #ffffff !important;
    border: 1px solid #111111 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    color: #111111 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    min-height: 38px !important;
    min-width: 148px;
    padding: 9px 18px !important;
    text-transform: uppercase !important;
}

.articon-orders--sheet .articon-orders__submit.button:hover,
.articon-orders--sheet .articon-orders__submit.button:focus,
.articon-orders--sheet .articon-orders__reopen.button:hover,
.articon-orders--sheet .articon-orders__reopen.button:focus {
    background: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
}

.articon-orders--sheet .articon-orders__sheet-info-grid {
    display: grid;
    grid-template-columns: minmax(170px, 0.8fr) minmax(260px, 1.2fr) minmax(460px, 3.5fr) minmax(230px, 1.35fr);
    margin: 0 0 16px;
    padding: 0 !important;
    position: relative;
}

.articon-orders--sheet .articon-orders__sheet-info-grid > * {
    background: #fff;
    border-bottom: 1px solid #777d82;
    border-right: 1px solid #777d82;
    border-top: 1px solid #777d82;
    min-height: 108px;
}

.articon-orders--sheet .articon-orders__sheet-info-grid > :first-child {
    border-left: 1px solid #777d82;
}

.articon-orders--sheet .articon-orders__sheet-location-label {
    align-items: center;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    margin: 0;
    padding: 14px;
    text-align: center;
}

.articon-orders--sheet .articon-orders__sheet-location-cell {
    align-items: center;
    display: flex;
    padding: 10px 16px;
}

.articon-orders--sheet .articon-orders__location-select-wrap {
    position: relative;
    width: 100%;
}

.articon-orders--sheet .articon-orders__location-select-wrap::after {
    color: #111111;
    content: "▼";
    font-size: 11px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.articon-orders--sheet .articon-orders__city-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 700;
    height: 44px !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 7px 34px 7px 8px !important;
    width: 100% !important;
}

.articon-orders--sheet .articon-orders__sheet-contact-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.35;
    padding: 10px 14px;
}

.articon-orders--sheet .articon-orders__contact-line {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 4px;
    margin: 1px 0;
}

.articon-orders--sheet .articon-orders__contact-line strong {
    font-weight: 700;
}

.articon-orders--sheet .articon-orders__contact-line--split strong:first-of-type {
    margin-right: 4px;
}

.articon-orders--sheet .articon-orders__sheet-group-cell {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
    position: relative;
}

.articon-orders--sheet #articon-orders-product-filter-label {
    color: #111111;
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 7px;
    text-align: center;
}

.articon-orders--sheet .articon-orders__product-filter {
    margin: 0;
    min-width: 0;
    position: relative;
    width: 100%;
}

.articon-orders--sheet .articon-orders__product-filter-toggle {
    background: #fff !important;
    border: 1px solid #c4c9ce !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
    font-size: 13px !important;
    height: 38px;
    margin: 0 !important;
    padding: 7px 34px 7px 10px !important;
    text-align: left;
    width: 100%;
}

.articon-orders--sheet .articon-orders__product-filter-caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #111111;
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.articon-orders--sheet .articon-orders__product-filter-menu {
    background: #fff;
    border: 1px solid #777d82;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    left: auto;
    max-height: 360px;
    min-width: 300px;
    overflow: auto;
    right: 0;
    top: calc(100% + 4px);
    z-index: 100;
}

.articon-orders--sheet .articon-orders__table-wrap {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    overflow-x: auto;
}

.articon-orders--sheet .articon-orders__sheet-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    table-layout: fixed;
    width: 100% !important;
}

.articon-orders--sheet .articon-orders__sheet-table thead th {
    background: #d7e5f8 !important;
    border: 1px solid #8d99aa !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.2;
    padding: 8px 8px !important;
    text-align: center !important;
    text-transform: none !important;
}

.articon-orders--sheet .articon-orders__sheet-table tbody td {
    background: #fff !important;
    border: 1px solid #c8d9ef !important;
    color: #111111 !important;
    font-size: 13px !important;
    line-height: 1.3;
    padding: 6px 8px !important;
    vertical-align: middle !important;
}

.articon-orders--sheet .articon-orders__sheet-table th:nth-child(1),
.articon-orders--sheet .articon-orders__sheet-table td:nth-child(1) {
    text-align: center;
    width: 90px;
}

.articon-orders--sheet .articon-orders__sheet-table th:nth-child(2),
.articon-orders--sheet .articon-orders__sheet-table td:nth-child(2) {
    width: 150px;
}

.articon-orders--sheet .articon-orders__sheet-table th:nth-child(4),
.articon-orders--sheet .articon-orders__sheet-table td:nth-child(4) {
    text-align: center;
    width: 150px;
}

.articon-orders--sheet .articon-orders__sheet-table th:nth-child(5),
.articon-orders--sheet .articon-orders__sheet-table td:nth-child(5) {
    text-align: right;
    width: 135px;
}

.articon-orders--sheet .articon-orders__image-link {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    margin: 0;
    padding: 0 !important;
}

.articon-orders--sheet .articon-orders__image {
    border: 0 !important;
    border-radius: 0 !important;
    height: 34px !important;
    max-width: 54px;
    object-fit: contain;
    width: 34px !important;
}

.articon-orders--sheet .articon-orders__description a {
    color: #111111 !important;
    text-decoration: none !important;
}

.articon-orders--sheet .articon-orders__quantity-stepper {
    align-items: stretch;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.articon-orders--sheet .articon-orders__quantity {
    -moz-appearance: textfield;
    appearance: textfield;
    background: #fff !important;
    border: 1px solid #aeb8c1 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
    font-size: 13px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    text-align: center;
    width: 76px !important;
}

.articon-orders--sheet .articon-orders__quantity::-webkit-outer-spin-button,
.articon-orders--sheet .articon-orders__quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.articon-orders--sheet .articon-orders__quantity-arrows {
    display: flex;
    flex-direction: column;
    height: 34px;
    width: 22px;
}

.articon-orders--sheet .articon-orders__quantity-arrow {
    align-items: center;
    background: #f4f5f6 !important;
    border: 1px solid #aeb8c1 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111111 !important;
    display: flex;
    flex: 1 1 50%;
    font-size: 7px !important;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 22px;
}

.articon-orders--sheet .articon-orders__quantity-arrow + .articon-orders__quantity-arrow {
    border-top: 0 !important;
}

.articon-orders--sheet .articon-orders__price-cell {
    font-weight: 500;
    white-space: nowrap;
}

.articon-orders--sheet .articon-orders__filter-empty td {
    text-align: center !important;
}

.articon-orders--sheet .articon-orders__add {
    border: 1px solid #c8d9ef;
    border-top: 0;
    margin: 0 !important;
    padding: 10px;
}

.articon-orders--sheet .articon-orders__actions--bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.articon-orders--sheet .articon-orders__notice,
.articon-orders--sheet .articon-orders__submitted-note {
    border-radius: 0 !important;
    margin: 8px 0 12px !important;
}

@media (max-width: 1050px) {
    .articon-orders--sheet .articon-orders__sheet-topbar {
        grid-template-columns: 1fr 1fr auto;
    }

    .articon-orders--sheet .articon-orders__sheet-info-grid {
        grid-template-columns: 180px minmax(250px, 1fr) minmax(360px, 2fr);
    }

    .articon-orders--sheet .articon-orders__sheet-group-cell {
        border-left: 1px solid #777d82;
        grid-column: 1 / -1;
        min-height: 74px;
    }
}

@media (max-width: 700px) {
    .articon-orders--sheet .articon-orders__sheet-topbar {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .articon-orders--sheet .articon-orders__sheet-submit {
        justify-content: flex-start;
    }

    .articon-orders--sheet .articon-orders__sheet-info-grid {
        display: block;
    }

    .articon-orders--sheet .articon-orders__sheet-info-grid > * {
        border-left: 1px solid #777d82;
        border-top: 0;
        min-height: 62px;
    }

    .articon-orders--sheet .articon-orders__sheet-info-grid > :first-child {
        border-top: 1px solid #777d82;
    }

    .articon-orders--sheet .articon-orders__sheet-location-label {
        min-height: 50px;
    }

    .articon-orders--sheet .articon-orders__sheet-contact-cell,
    .articon-orders--sheet .articon-orders__sheet-group-cell {
        min-height: 88px;
    }

    .articon-orders--sheet .articon-orders__sheet-table {
        min-width: 760px;
    }
}

/* v1.7.41 grid-edge correction when hidden query inputs are present in the form. */
.articon-orders--sheet .articon-orders__sheet-location-label {
    border-left: 1px solid #777d82 !important;
}

@media (max-width: 700px) {
    .articon-orders--sheet .articon-orders__sheet-location-label {
        border-top: 1px solid #777d82 !important;
    }
}


/* ==========================================================
   v1.7.42 — spreadsheet portal refinements
   ========================================================== */

/* The store/category navigation is never shown on this endpoint. */
body.articon-orders-page #wide-nav,
body.articon-orders-page .header-bottom,
body.articon-orders-page .header-bottom-nav,
body.articon-orders-page .nav.header-bottom-nav,
body.articon-orders-page .header-wrapper nav:has(a[href*="/shop/"]),
body.articon-orders-page .header-wrapper .nav:has(a[href*="/shop/"]) {
    display: none !important;
}

/* Match the width of the main Articon header container instead of the narrower account column. */
body.articon-orders-page .page-wrapper .container:has(.articon-orders) {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: calc(100% - 48px) !important;
}

body.articon-orders-page .page-wrapper .row:has(.articon-orders),
body.articon-orders-page .articon-orders-account-row,
body.articon-orders-page .articon-orders-content-col,
body.articon-orders-page .woocommerce-MyAccount-content:has(.articon-orders) {
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

/* Use the same subtle triangle as Product Group for the location selector. */
.articon-orders--sheet .articon-orders__location-select-wrap::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #50636e;
    content: "";
    height: 0;
    right: 12px;
    width: 0;
}

/* Contact information: prominent Ship-To line, compact secondary details. */
.articon-orders--sheet .articon-orders__sheet-contact-cell {
    gap: 5px;
    line-height: 1.25;
    padding: 10px 14px;
}

.articon-orders--sheet .articon-orders__contact-primary {
    align-items: baseline;
    display: flex;
    flex-wrap: nowrap;
    font-size: 14px;
    gap: 5px;
    min-width: 0;
}

.articon-orders--sheet .articon-orders__contact-primary > span {
    flex: 0 0 auto;
    font-weight: 500;
    white-space: nowrap;
}

.articon-orders--sheet .articon-orders__contact-primary strong {
    font-size: 15px;
    font-weight: 700;
    min-width: 0;
}

.articon-orders--sheet .articon-orders__contact-secondary {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 3px 12px;
}

.articon-orders--sheet .articon-orders__contact-pair {
    align-items: baseline;
    display: inline-flex;
    gap: 4px;
    white-space: nowrap;
}

.articon-orders--sheet .articon-orders__contact-pair > span {
    font-weight: 500;
}

.articon-orders--sheet .articon-orders__contact-pair strong {
    font-size: 12px;
    font-weight: 700;
}

/* One scrollbar only: the product-group options scroll, the surrounding menu does not. */
.articon-orders--sheet .articon-orders__product-filter-menu {
    max-height: none !important;
    overflow: hidden !important;
}

.articon-orders--sheet .articon-orders__product-filter-options {
    max-height: 265px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

/* Product list gets its own scrollbar; column headers stay visible like a spreadsheet. */
.articon-orders--sheet .articon-orders__table-wrap {
    max-height: 58vh;
    min-height: 360px;
    overflow: auto !important;
    scrollbar-gutter: stable;
}

.articon-orders--sheet .articon-orders__sheet-table thead th {
    position: sticky;
    top: 0;
    z-index: 8;
}

.articon-orders--sheet .articon-orders__table-wrap::-webkit-scrollbar,
.articon-orders--sheet .articon-orders__product-filter-options::-webkit-scrollbar {
    height: 11px;
    width: 11px;
}

.articon-orders--sheet .articon-orders__table-wrap::-webkit-scrollbar-thumb,
.articon-orders--sheet .articon-orders__product-filter-options::-webkit-scrollbar-thumb {
    background: #aeb8c1;
    border: 2px solid #f4f6f8;
    border-radius: 8px;
}

.articon-orders--sheet .articon-orders__table-wrap::-webkit-scrollbar-track,
.articon-orders--sheet .articon-orders__product-filter-options::-webkit-scrollbar-track {
    background: #f4f6f8;
}

/* Larger, permanently visible quantity controls. */
.articon-orders--sheet .articon-orders__quantity-stepper {
    height: 36px;
}

.articon-orders--sheet .articon-orders__quantity {
    height: 36px !important;
    width: 82px !important;
}

.articon-orders--sheet .articon-orders__quantity-arrows {
    height: 36px;
    width: 27px;
}

.articon-orders--sheet .articon-orders__quantity-arrow {
    background: #f8f9fa !important;
    border-color: #aeb8c1 !important;
    color: #263238 !important;
    font-size: 9px !important;
    height: 18px !important;
    line-height: 17px !important;
    min-height: 18px !important;
    width: 27px !important;
}

.articon-orders--sheet .articon-orders__quantity-arrow:hover,
.articon-orders--sheet .articon-orders__quantity-arrow:focus {
    background: #e8edf1 !important;
    border-color: #7f8b95 !important;
    color: #111 !important;
}

/* Bottom submit was intentionally removed in v1.7.42. */
.articon-orders--sheet .articon-orders__actions--bottom {
    display: none !important;
}

@media (max-width: 760px) {
    body.articon-orders-page .page-wrapper .container:has(.articon-orders) {
        width: calc(100% - 20px) !important;
    }

    .articon-orders--sheet .articon-orders__table-wrap {
        max-height: 60vh;
        min-height: 300px;
    }
}


/* ==========================================================
   v1.7.43 — compact sticky sheet header + embedded steppers
   ========================================================== */

/* Extra-safe category navigation removal for Flatsome/header-builder variants. */
body.articon-orders-page #header .header-nav-main:has(a[href*="/shop/"]):has(a[href*="/product-category/equipment/"]),
body.articon-orders-page .header-wrapper .header-nav-main:has(a[href*="/shop/"]):has(a[href*="/product-category/equipment/"]),
body.articon-orders-page #header ul.nav:has(a[href*="/shop/"]):has(a[href*="/product-category/equipment/"]),
body.articon-orders-page #header li:has(> a[href*="/shop/"]),
body.articon-orders-page #header li:has(> a[href*="/promotions-and-sales/"]),
body.articon-orders-page #header li:has(> a[href*="/product-category/equipment/"]),
body.articon-orders-page #header li:has(> a[href*="/product-category/software/"]),
body.articon-orders-page #header li:has(> a[href*="/product-category/service/"]),
body.articon-orders-page #header li:has(> a[href*="freshdesk.com/support/home"]),
body.articon-orders-page #header li:has(> a[href*="graphene-reinforced-pmma-disc"]),
body.articon-orders-page #header li:has(> a[href*="material"]) {
    display: none !important;
}

/* Make the Nuvia/location/contact/product-group row shorter and keep it visible. */
.articon-orders--sheet .articon-orders__sheet-info-grid {
    grid-template-columns: minmax(145px, 0.72fr) minmax(230px, 1.18fr) minmax(430px, 3.5fr) minmax(205px, 1.25fr);
    margin-bottom: 0 !important;
    position: sticky !important;
    top: 0;
    z-index: 30;
}

body.admin-bar .articon-orders--sheet .articon-orders__sheet-info-grid {
    top: 32px;
}

.articon-orders--sheet .articon-orders__sheet-info-grid > * {
    min-height: 76px !important;
}

.articon-orders--sheet .articon-orders__sheet-location-label {
    font-size: 13px !important;
    padding: 8px !important;
}

.articon-orders--sheet .articon-orders__sheet-location-cell {
    padding: 5px 10px !important;
}

.articon-orders--sheet .articon-orders__city-select {
    font-size: 14px !important;
    height: 36px !important;
    padding-bottom: 4px !important;
    padding-top: 4px !important;
}

.articon-orders--sheet .articon-orders__sheet-contact-cell {
    gap: 2px !important;
    line-height: 1.15 !important;
    padding: 6px 10px !important;
}

.articon-orders--sheet .articon-orders__contact-primary {
    font-size: 12.5px !important;
    gap: 4px !important;
}

.articon-orders--sheet .articon-orders__contact-primary strong {
    font-size: 13.5px !important;
}

.articon-orders--sheet .articon-orders__contact-secondary,
.articon-orders--sheet .articon-orders__contact-pair strong {
    font-size: 11px !important;
}

.articon-orders--sheet .articon-orders__contact-secondary {
    gap: 2px 10px !important;
}

.articon-orders--sheet .articon-orders__sheet-group-cell {
    padding: 5px 9px !important;
}

.articon-orders--sheet #articon-orders-product-filter-label {
    font-size: 13px !important;
    margin-bottom: 3px !important;
}

.articon-orders--sheet .articon-orders__product-filter-toggle {
    height: 34px !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

/* Join the information row directly to the spreadsheet header. */
.articon-orders--sheet .articon-orders__table-wrap {
    margin-top: -1px !important;
}

.articon-orders--sheet .articon-orders__sheet-table thead th {
    top: 0 !important;
    z-index: 12 !important;
}

/* Put both quantity arrows inside a single input-like rectangle. */
.articon-orders--sheet .articon-orders__quantity-stepper {
    border: 1px solid #aeb8c1 !important;
    box-sizing: border-box;
    height: 36px !important;
    overflow: hidden;
    position: relative;
    width: 108px;
}

.articon-orders--sheet .articon-orders__quantity {
    border: 0 !important;
    box-sizing: border-box !important;
    height: 34px !important;
    padding: 4px 30px 4px 8px !important;
    width: 106px !important;
}

.articon-orders--sheet .articon-orders__quantity-arrows {
    bottom: 0;
    height: 34px !important;
    position: absolute;
    right: 0;
    top: 0;
    width: 26px !important;
}

.articon-orders--sheet .articon-orders__quantity-arrow {
    background: #f8f9fa !important;
    border: 0 !important;
    border-left: 1px solid #aeb8c1 !important;
    color: #263238 !important;
    font-size: 9px !important;
    height: 17px !important;
    line-height: 16px !important;
    min-height: 17px !important;
    width: 26px !important;
}

.articon-orders--sheet .articon-orders__quantity-arrow:first-child {
    border-bottom: 1px solid #aeb8c1 !important;
}

.articon-orders--sheet .articon-orders__quantity-arrow:hover,
.articon-orders--sheet .articon-orders__quantity-arrow:focus {
    background: #e8edf1 !important;
}

@media (max-width: 782px) {
    body.admin-bar .articon-orders--sheet .articon-orders__sheet-info-grid {
        top: 46px;
    }
}


/* ==========================================================
   v1.7.44 — Nuvia selector frames + orange submit button
   ========================================================== */

/* Make the Nuvia Locations heading easier to scan. */
.articon-orders--sheet .articon-orders__sheet-location-label {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Location: remove the cell's outer frame and put one clean frame
   directly around the selector itself. */
.articon-orders--sheet .articon-orders__sheet-location-cell {
    border: 0 !important;
}

.articon-orders--sheet .articon-orders__location-select-wrap {
    background: #ffffff !important;
    border: 1px solid #c4c9ce !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    height: 36px !important;
    overflow: hidden;
}

.articon-orders--sheet .articon-orders__city-select {
    border: 0 !important;
    height: 34px !important;
}

/* Product Group: remove the outer cell frame so the dropdown's own
   border is the only visible frame. */
.articon-orders--sheet .articon-orders__sheet-group-cell {
    border: 0 !important;
}

.articon-orders--sheet .articon-orders__product-filter,
.articon-orders--sheet .articon-orders__product-filter-toggle {
    box-shadow: none !important;
}

/* Submit Order brand color. */
.articon-orders--sheet .articon-orders__submit.button {
    background: #F49115 !important;
    border-color: #F49115 !important;
    color: #ffffff !important;
}

.articon-orders--sheet .articon-orders__submit.button:hover,
.articon-orders--sheet .articon-orders__submit.button:focus {
    background: #F7B25A !important;
    border-color: #F7B25A !important;
    color: #ffffff !important;
}


/* ==========================================================
   v1.7.45 — restore header grid lines, single selector frames,
   orange Submit Order, and month/year date label
   ========================================================== */

/* Restore the spreadsheet-style header dividers. v1.7.44 removed the
   location/group cell borders while trying to remove duplicate input frames. */
.articon-orders--sheet .articon-orders__sheet-location-cell,
.articon-orders--sheet .articon-orders__sheet-group-cell {
    border-top: 1px solid #777d82 !important;
    border-right: 1px solid #777d82 !important;
    border-bottom: 1px solid #777d82 !important;
}

/* Location selector: the grid cell keeps its header divider, while the
   selector itself has exactly one visible frame. */
.articon-orders--sheet .articon-orders__location-select-wrap {
    background: #ffffff !important;
    border: 1px solid #aeb8c1 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    height: 36px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.articon-orders--sheet .articon-orders__city-select {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    height: 34px !important;
    margin: 0 !important;
}

/* Product Group had two nested frames: the generic product-filter wrapper
   plus the actual toggle button. Keep only the toggle button frame. */
.articon-orders--sheet .articon-orders__product-filter {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.articon-orders--sheet .articon-orders__product-filter-toggle {
    border: 1px solid #aeb8c1 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Use a deliberately stronger selector so Flatsome/button rules cannot
   restore the old white button. */
html body.articon-orders-page .articon-orders.articon-orders--sheet
.articon-orders__sheet-submit .articon-orders__submit.button {
    background: #F49115 !important;
    border-color: #F49115 !important;
    color: #ffffff !important;
}

html body.articon-orders-page .articon-orders.articon-orders--sheet
.articon-orders__sheet-submit .articon-orders__submit.button:hover,
html body.articon-orders-page .articon-orders.articon-orders--sheet
.articon-orders__sheet-submit .articon-orders__submit.button:focus {
    background: #F7B25A !important;
    border-color: #F7B25A !important;
    color: #ffffff !important;
}
