@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

dl, ol, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: var(--black_text);
    background: var(--bodybg);
}

button {
    background: transparent;
    padding: 0;
    border: none;
}

input:focus {
    outline: none;
}

:root {
    --bodybg: #F9FBFD;
    --black_text: #171725;
    --grey_text: #ADA7A7;
    --green: #59BEAB;
    --blue: #12355B;
    --blue_bg: #EAF1FB;
    --green_bg: #E2F4F0;
    --grey: #687C97;
    --light-grey: #F2F2F2;
    --outline: #E5E8EF;
    --border_radius: 50px;
    --mint_green: #EAFFF0;
    --light_red: #FFF5F3;
    --red_text: #FE5F55;
    --notification_green: #59C478;
    --notification_red: #ED2E35;
    --delivered_state_bg: #E6FEE2;
    --progress_state_bg: #FFF3E8;
    --progress_state_text: #FF8515;
    --send_state_bg: #E0EEFF;
    --send_state_text: #2C7FE0;
    --popup_bg: rgba(3, 16, 33, 0.6);
    --box-shadow: 0px 4px 47px -6px rgba(6, 0, 40, 0.09);
    --sectionSpace: 60px;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--black_text);
}

.big-title {
    color: var(--black_text);
    font-weight: 700;
    font-size: 24px;
}

.black-text {
    color: var(--black_text);
}

.blue-text {
    color: var(--blue);
}

.bold-text {
    font-weight: 600;
}

.bolder-text {
    font-weight: 700;
}

.line-through-text {
    text-decoration: line-through;
}

.dash__flex-gap-24 {
    gap: 24px;
}

.flex-gap-14 {
    gap: 14px;
}

.flex-gap-24 {
    gap: 14px;
}

.flex-gap-40 {
    gap: 40px;
}

.small-text {
    font-size: 14px;
}

.sign-container {
    height: 100vh;
    display: flex;
}

    .sign-container > div {
        flex: 1;
        height: 100%;
    }

.sign__content {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.sign__content__wrapper {
    width: calc(100% - 80px);
    max-width: 400px;
}

.sign__image {
    position: relative;
}

    .sign__image:before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--popup_bg);
    }

    .sign__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.logo {
    margin-bottom: 100px;
}

    .logo img {
        max-width: 288px;
        width: 100%;
    }

.sign__content__head {
    margin-bottom: 65px;
}

    .sign__content__head h1 {
        font-weight: 700;
        font-size: 28px;
        margin-bottom: 13px;
    }

    .sign__content__head p {
        color: var(--grey_text);
    }

.sign__form__input:not(:last-of-type) {
    margin-bottom: 58px;
}

.sign__form__input label {
    display: block;
    font-weight: 700;
    margin-bottom: 14px;
}

.sign__form__input input {
    height: 50px;
    padding: 0 14px;
    font-size: 14px;
    color: var(--grey_text);
    border-radius: 10px;
    border: 1px solid var(--outline);
    width: 100%;
    transition: all 0.3s ease-out;
}

    .sign__form__input input:disabled {
        background: #f7fafb;
        color: rgba(104, 124, 151, 0.62);
        cursor: not-allowed;
    }

    .sign__form__input input:focus {
        outline: none;
        border-color: var(--green);
    }

.sign__form__forgot a {
    display: block;
    transition: all 0.3s ease-out;
    text-align: right;
    color: var(--grey_text);
    margin-top: 12px;
    font-size: 14px;
    text-decoration: none;
}

    .sign__form__forgot a:hover {
        color: var(--green);
    }

.sign__content__form input[type="submit"] {
    width: 100%;
    margin-top: 38px;
    margin-bottom: 24px;
}

    .sign__content__form input[type="submit"]:hover {
        background: var(--blue);
    }

.button_text {
    color: var(--grey_text);
}

.button_design {
    display: flex;
    height: 50px;
    padding: 15px 30px 14px 30px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border_radius);
    border: none;
    transition: all 0.3s ease-out;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    white-space: nowrap;
}

button,
a[class*="button"],
.pill,
.primary-button,
.filter-button,
.supplier-button,
.place-order-btn {
    white-space: nowrap;
}

.button_design--simple {
    padding: 0;
}

.button_design--smaller {
    padding: 0 20px;
    height: 38px;
    font-size: 14px;
    min-width: 112px;
}

.button_design svg * {
    transition: all 0.3s ease-out;
}

.button--align-right {
    margin-left: auto;
}

.button_design--red {
    color: var(--red_text);
}

.button_design--green {
    background: var(--green);
    color: #fff;
}

.button_design--light {
    background: var(--blue_bg);
    color: var(--blue);
}

    .button_design--light:hover {
        background: var(--blue);
        color: #fff;
    }

.button_design--green:hover {
    background: var(--blue);
}

.button_design--blue {
    background: var(--blue);
    color: #fff;
}

    .button_design--blue:hover {
        background: var(--green);
    }

.button_design--grey {
    border: none !important;
    color: var(--grey_text);
}

.button_design--white {
    background: #fff;
    border: 1px solid var(--outline);
    color: var(--grey_text);
    font-weight: 400 !important;
}

.button_design--cancel {
    background: var(--red_text);
    color: #fff;
}

    .button_design--cancel:hover {
        background: var(--blue);
    }

.button_design--white:not(.button--icon-stroke):hover svg *,
.button_design--light:not(.button--icon-stroke):hover svg * {
    fill: #fff;
}

.button_design--white.button--icon-stroke:hover svg * {
    stroke: #fff;
}

.button_design--white:not(.nohover):hover {
    color: #fff !important;
    background: var(--green);
    border-color: var(--green);
}

.google_log_in {
    box-shadow: var(--box-shadow);
    width: 100%;
}

.sign__account {
    margin-top: 33px;
}

.sign__create-acount {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    flex: 1;
}

    .sign__create-acount span {
        color: var(--grey_text);
        margin-right: 20px;
    }

    .sign__create-acount a {
        color: var(--black_text);
        text-decoration: none;
        transition: all 0.3s ease-out;
    }

        .sign__create-acount a:hover {
            color: var(--green);
        }

.sign__content__form .sign__account input[type="submit"] {
    margin: 0;
    width: 220px;
}

.sign__content__form .sign__account .login-submit {
    position: relative;
    width: 220px;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(89, 190, 171, 0.24);
}

.login-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 70%);
    transform: translateX(-140%);
}

.login-submit__text,
.login-submit__spinner {
    position: relative;
    z-index: 1;
}

.login-submit__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.40);
    border-top-color: #fff;
    border-radius: 999px;
}

.login-submit--loading {
    background: linear-gradient(135deg, var(--green), #37a390, var(--blue));
    background-size: 220% 220%;
    cursor: wait;
    animation: login-button-gradient 1.8s ease-in-out infinite;
}

.login-submit--loading::before {
    animation: login-button-shimmer 1.15s ease-in-out infinite;
}

.login-submit--loading .login-submit__spinner {
    display: inline-block;
    animation: login-button-spin 760ms linear infinite;
}

.login-submit:disabled {
    opacity: 1;
}

.login-message {
    margin: 18px 0 0;
    color: var(--red_text);
    font-size: 14px;
    font-weight: 600;
}

@keyframes login-button-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes login-button-shimmer {
    to {
        transform: translateX(140%);
    }
}

@keyframes login-button-gradient {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 16px 32px rgba(89, 190, 171, 0.24);
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 18px 38px rgba(18, 53, 91, 0.25);
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--green);
    padding: 25px 40px;
    display: flex;
    align-items: center;
    z-index: 1000;
    gap: 80px;
    overflow: visible;
}

.header__search-component {
    position: relative;
    z-index: 1002;
}

.search-component__form {
    background: var(--green_bg);
    border-radius: var(--border_radius);
    height: 46px;
    display: flex;
    align-items: center;
    width: 460px;
    padding: 0 25px;
    position: relative;
    z-index: 1004;
}

    .search-component__form form {
        display: flex;
        align-items: center;
        gap: 17px;
        width: 100%;
    }

    .search-component__form button img {
        display: block;
    }

    .search-component__form input {
        font-size: 14px;
        color: var(--black_text, #171725);
        background: transparent;
        border: none;
        flex: 1;
    }

        .search-component__form input::placeholder {
            color: var(--green);
        }

.header-search-scrim {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--popup_bg);
    pointer-events: none;
    z-index: 1001;
}

.header-search-popup {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 460px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(3, 16, 33, 0.18);
    z-index: 1003;
}

.header-search-popup__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 22px;
    border-bottom: 1px solid #edf0f4;
}

.header-search-popup__section + .header-search-popup__section {
    border-top: 1px solid #edf0f4;
}

.header-search-popup__head strong {
    color: var(--black_text);
    font-size: 15px;
    font-weight: 800;
}

.header-search-popup__head span {
    color: var(--grey_text);
    font-size: 13px;
    font-weight: 500;
}

.header-search-popup__list {
    padding: 8px 0 14px;
}

.header-search-popup__item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 22px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.header-search-popup__item:hover,
.header-search-popup__item:focus-visible {
    background: #f7fafc;
    outline: none;
}

.header-search-popup__see-all {
    width: calc(100% - 44px);
    margin: 4px 22px 0;
    padding: 10px 12px;
    border: 1px solid rgba(74, 198, 168, 0.3);
    border-radius: 8px;
    background: #f4fbf8;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.header-search-popup__see-all:hover,
.header-search-popup__see-all:focus-visible {
    background: #eaf8f2;
    outline: none;
}

.header-search-popup__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(74, 198, 168, 0.35);
    border-radius: 8px;
    background: #e6f7f1;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
}

.header-search-popup__avatar--product {
    border-color: rgba(18, 53, 91, 0.14);
    background: #eef2f7;
    color: var(--blue);
}

.header-search-popup__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.header-search-popup__copy span {
    overflow: hidden;
    color: var(--grey_text);
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search-popup__copy strong {
    overflow: hidden;
    color: var(--black_text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-search-popup__empty {
    padding: 16px 22px;
    color: var(--grey_text);
    font-size: 13px;
    font-weight: 600;
}

.header__user {
    gap: 22px;
    margin-left: auto;
    align-items: center;
}

.header-profile-switcher {
    position: relative;
    margin-left: auto;
}

.header-profile-switcher::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    height: 12px;
    z-index: 1004;
}

.header__user--button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #fff;
    cursor: pointer;
    padding: 10px 14px;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.header__user--button:hover,
.header__user--button:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
    outline: none;
}

.user__image {
    border: 1px solid var(--outline);
    border-radius: 3px;
    width: 50px;
    aspect-ratio: 1;
    overflow: hidden;
}

    .user__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.user__details h3 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.32px;
    margin-bottom: 6px;
    font-size: 16px;
}

    .user__details h3 a {
        color: #fff;
        text-decoration: none;
    }

.user__details span {
    display: block;
    max-width: 168px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
}

.profile-switcher-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    overflow: hidden;
    border: 1px solid rgba(18, 53, 91, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(3, 16, 33, 0.18);
    z-index: 1005;
}

.profile-switcher-menu__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
    color: var(--black_text);
    cursor: pointer;
    text-align: left;
    transition: background-color 160ms ease;
}

.profile-switcher-menu__item:last-child {
    border-bottom: 0;
}

.profile-switcher-menu__item:hover,
.profile-switcher-menu__item:focus-visible {
    background: #f7fafc;
    outline: none;
}

.profile-switcher-menu__item--action {
    border-bottom: 1px solid #e4edf5;
}

.profile-switcher-menu__action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f8f4;
    color: #12355b;
    font-size: 22px;
    font-weight: 800;
}

.profile-switcher-menu__avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    overflow: hidden;
    border: 1px solid var(--outline);
    border-radius: 6px;
}

.profile-switcher-menu__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-switcher-menu__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.profile-switcher-menu__copy strong,
.profile-switcher-menu__copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-switcher-menu__copy strong {
    color: var(--black_text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.profile-switcher-menu__copy span {
    color: var(--grey_text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.add-user-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(3px);
}

.add-user-modal__panel {
    position: relative;
    width: min(92vw, 560px);
    max-height: min(92vh, 760px);
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.26);
}

.add-user-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f4f7fb;
    color: #687c97;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.add-user-modal__header {
    padding: 34px 38px 22px;
    border-bottom: 1px solid #e7edf3;
}

.add-user-modal__header p {
    margin: 0 0 8px;
    color: #59beab;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.add-user-modal__header h2 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    line-height: 1.2;
}

.add-user-modal__header span,
.add-user-modal__hint {
    color: #687c97;
    font-size: 13px;
}

.add-user-modal__body {
    display: grid;
    gap: 18px;
    padding: 24px 38px;
}

.add-user-photo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #dce5ee;
    border-radius: 14px;
    cursor: pointer;
}

.add-user-photo input {
    display: none;
}

.add-user-photo__preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    background: #eef7f5;
    color: #12355b;
    font-size: 32px;
    font-weight: 800;
}

.add-user-photo__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-user-photo__copy strong,
.add-user-photo__copy span {
    display: block;
}

.add-user-photo__copy strong {
    color: #111827;
    font-size: 14px;
}

.add-user-photo__copy span {
    margin-top: 3px;
    color: #687c97;
    font-size: 12px;
}

.add-user-field {
    display: grid;
    gap: 7px;
}

.add-user-field span {
    color: #687c97;
    font-size: 12px;
    font-weight: 800;
}

.add-user-field input {
    height: 46px;
    border: 1px solid #dce5ee;
    border-radius: 10px;
    padding: 0 14px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}

.add-user-field input[readonly] {
    background: #f4f8fb;
    color: #12355b;
}

.add-user-modal__hint {
    margin: 0;
}

.add-user-modal__status {
    margin: 0 38px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.add-user-modal__status--success {
    background: #e7f8f4;
    color: #0f766e;
}

.add-user-modal__status--error {
    background: #fee2e2;
    color: #b91c1c;
}

.add-user-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 22px 38px 34px;
    border-top: 1px solid #e7edf3;
}

.dash__sidebar {
    max-width: 230px;
    width: 100%;
    height: calc(100vh - 100px);
    background: #fff;
    padding: 34px 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 100px;
    z-index: 9;
    left: 0;
}

.sidebar__navigation svg * {
    transition: all 0.3s ease-out;
}

.sidebar__navigation ul {
    display: flex;
    flex-direction: column;
    gap: 35px;
    list-style: none;
}

    .sidebar__navigation ul span {
        position: relative;
    }

    .sidebar__navigation ul a {
        display: flex;
        align-items: center;
        gap: 16px;
        color: var(--grey);
        letter-spacing: 0.32px;
        text-decoration: none;
        transition: all 0.3s ease-out;
        position: relative;
    }

        .sidebar__navigation ul a:hover {
            color: var(--green);
        }

            .sidebar__navigation ul a:hover :not(.sidebar-navigation__icon--stroke) svg * {
                fill: var(--green);
            }

            .sidebar__navigation ul a:hover .sidebar-navigation__icon--stroke svg * {
                stroke: var(--green);
            }

    .sidebar__navigation ul .is-nav-active a {
        font-weight: 700;
        color: var(--grey);
    }

        .sidebar__navigation ul .is-nav-active a svg * {
            fill: var(--green);
        }

.unread-message span {
    padding-right: 20px;
}

    .unread-message span:after {
        content: "";
        width: 7px;
        aspect-ratio: 1/1;
        background: #FE5F55;
        border-radius: 100%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }

.has-nav-message span:after {
    content: "";
    width: 7px;
    aspect-ratio: 1/1;
    background: #FE5F55;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -19px;
}

.place-order-cta {
    width: 100%;
    margin-top: 50px;
}

    .place-order-cta:hover {
        background: var(--green);
    }

.sidebar__navigation--bottom {
    margin-top: auto;
}


.main-dash-content {
    padding: 60px 40px ;
    margin-top: 100px ;
    width: calc(100% - 230px) ; 
}


.main-dash-wrapper {
    justify-content: flex-end;
    display: flex;
}

body:has(.dashboard-page-shell) {
    min-width: 1024px;
    overflow-x: auto;
}

.dashboard-page-shell {
    min-width: 1024px;
}

.dashboard-page-shell .header {
    min-width: 1024px;
}

.dashboard-page-main {
    min-width: 824px;
}

.main-dash-wrapper {
    min-width: 824px;
}

.main-dash-content {
    min-width: 784px;
    flex-shrink: 0;
}

 .dash-wrapper-columns {
    gap: 40px;
}



.dash-section:not(:last-of-type) {
    margin-bottom: var(--sectionSpace);
}

.mt-section-space {
    margin-top: var(--sectionSpace);
}

.dash-section__title {
    margin-bottom: 40px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

    .dash-section__title.dash-section__title-filters {
        display: block;
        margin-bottom: 24px;
        padding-bottom: 24px;
        padding-left: 0;
        border-bottom: 1px solid var(--outline);
    }

.dash-section__title__filters {
    margin-top: 24px;
}

    .dash-section__title__filters ul {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        white-space: nowrap;
        gap: 24px;
        list-style: none;
        margin: 0;
    }

        .dash-section__title__filters ul li {
            border-radius: var(--border_radius);
            background: var(--light-grey);
            display: flex;
            align-items: center;
            height: 38px;
            gap: 14px;
            padding: 0 24px;
        }

            .dash-section__title__filters ul li button {
                padding: 0;
                background: transparent;
                border: none;
            }

.dash-section__title h2 {
    font-weight: 700;
    font-size: 24px;
}

.order-details-title {
    gap: 22px;
    padding-left: 0;
}

.order-details-title h2 {
    margin-right: 18px;
    white-space: nowrap;
}

.order-details-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-details-actions .button_design--smaller {
    min-width: 126px;
}

.order-details-overlay {
    min-height: 100vh;
    padding: 32px;
    background:
        radial-gradient(circle at 12% 6%, rgba(74, 198, 168, 0.2), transparent 26%),
        rgba(10, 23, 38, 0.52);
}

.order-details-sheet {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 26px;
    border: 1px solid rgba(229, 232, 239, 0.92);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 80px rgba(18, 53, 91, 0.22);
}

.order-details-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.order-details-modal-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}

.order-details-modal-heading h2 {
    margin: 0;
    color: var(--black_text);
    font-size: 28px;
    font-weight: 800;
}

.order-details-eyebrow {
    margin: 0 0 4px;
    color: var(--grey_text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.order-details-close {
    flex: 0 0 auto;
}

.order-details-summary {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.order-details-supplier-card,
.order-details-meta-card,
.order-details-notes,
.order-details-products-card {
    border: 1px solid var(--outline);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 53, 91, 0.07);
}

.order-details-supplier-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
}

.order-details-supplier-card span,
.order-details-meta-card span,
.order-details-notes span {
    display: block;
    margin-bottom: 6px;
    color: var(--grey_text);
    font-size: 13px;
    font-weight: 700;
}

.order-details-supplier-card h3 {
    margin: 0;
    color: var(--black_text);
    font-size: 20px;
    font-weight: 800;
}

.order-details-meta-card {
    padding: 18px;
}

.order-details-meta-card strong {
    display: block;
    color: var(--black_text);
    font-size: 20px;
    font-weight: 800;
}

.order-details-meta-card em {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--green_bg);
    color: var(--green);
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.order-details-notes {
    margin-bottom: 18px;
    padding: 18px 20px;
}

.order-details-notes p {
    margin: 0;
    color: var(--black_text);
    font-weight: 700;
}

.order-details-products-card {
    overflow: hidden;
}

.order-details-products-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--outline);
}

.order-details-products-head h3 {
    margin: 0;
    color: var(--black_text);
    font-size: 22px;
    font-weight: 800;
}

.order-details-products-head > strong {
    color: var(--blue);
    font-size: 28px;
    font-weight: 900;
}

.order-details-table {
    width: 100%;
}

.order-details-table-row {
    display: grid;
    grid-template-columns: minmax(340px, 1.7fr) 1fr 0.75fr 0.75fr 0.75fr;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--outline);
    color: var(--black_text);
}

.order-details-table-row:last-child {
    border-bottom: 0;
}

.order-details-table-row--head {
    padding-top: 14px;
    padding-bottom: 14px;
    background: #f7fafc;
    color: var(--grey_text);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-details-product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.order-details-product-cell strong {
    display: block;
    color: var(--black_text);
    font-size: 15px;
    font-weight: 900;
}

.order-details-product-cell span {
    display: block;
    margin-top: 3px;
    color: var(--grey_text);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 960px) {
    .order-details-overlay {
        padding: 18px;
        overflow-x: auto;
    }

    .order-details-sheet {
        min-width: 860px;
    }
}

.state-label {
    display: inline-block;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
}

.state-label--low {
    background: var(--light_red);
    color: var(--notification_red);
}

.state-label--green {
    background: var(--green_bg);
    color: var(--green);
}

.state-label--progress {
    background: var(--progress_state_bg);
    color: var(--progress_state_text);
}

.state-label--send {
    background: var(--send_state_bg);
    color: var(--send_state_text);
}

.state-label--cancel {
    background: var(--notification_red);
    color: #fff;
}

.state-label--delivered,
.state-label--up {
    background: var(--delivered_state_bg);
    color: var(--green);
}

.dash__block {
    background: #fff;
    border-radius: 13px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 7.67791px 14.716px 0px rgba(62, 63, 122, 0.04);
    min-width: 720px;
}

.dash__block__loader {
    position: absolute;
    z-index: 2;
    background: #fff;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash__block__heading-row {
    padding: 28px;
    font-weight: 700;
    border-bottom: 1px solid var(--outline);
}

.dash__block__heading-row--large {
    font-size: 24px;
}

.dash__block__heading-row > div div[class^=col]:not(:first-of-type):not(.col--align-left) {
    text-align: center;
}

.dash__block__row {
    padding: 28px;
    border-bottom: 1px solid var(--outline);
    color: var(--grey_text);
}

.dash__block__row--clickable {
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dash__block__row--clickable > .d-flex {
    width: 100%;
    height: 100%;
    align-items: center;
}

.dash__block__row--clickable:hover,
.dash__block__row--clickable:focus-visible {
    background: #f8fbfd;
    box-shadow: inset 4px 0 0 var(--green);
}

.dash__block__row--clickable:active {
    transform: scale(0.998);
}

.dashboard-row-link-text {
    color: var(--black_text);
    font-weight: 600;
}

.dashboard-order-row__action-column {
    flex: 0 0 64px !important;
    max-width: 64px;
}

.dashboard-order-row__reorder {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #dbe5ef;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.dashboard-order-row__reorder img {
    width: 18px;
    height: 18px;
}

.dashboard-order-row__reorder:hover:not(:disabled) {
    border-color: var(--green);
    background: #effaf7;
}

.dashboard-order-row__reorder:focus-visible {
    outline: 3px solid rgba(77, 198, 169, 0.28);
    outline-offset: 2px;
}

.dashboard-order-row__reorder:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.dash__block__heading-row > .d-flex,
.dash__block__row > .d-flex {
    min-width: 680px;
}

.dash__block__row--big {
    padding: 40px;
}

.dash__block__row a {
    text-decoration: none;
}

    .dash__block__row a span {
        color: var(--grey_text);
        text-decoration: none;
    }

.dash__block__row:last-of-type {
    border: none;
}

.dash__block__row > div div[class^=col] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .dash__block__row > div div[class^=col].col--align-left {
        text-align: left;
    }

    .dash__block__row > div div[class^=col]:first-of-type {
        align-items: flex-start;
    }

.dash__block__row span {
    display: block;
    width: 100%;
    position: relative;
}

.dash__block__image-component {
    gap: 24px;
    align-items: center;
}

    .dash__block__image-component a {
        text-decoration: none;
        color: var(--black_text);
        display: block;
        text-align: left;
    }

    .dash__block__image-component.dash__block__image-component--detailed a {
        font-weight: 700;
        font-size: 20px;
    }

    .dash__block__image-component.dash__block__image-component--detailed .image-component__details span {
        display: block;
        margin-bottom: 12px;
    }

.image-component__photo.image-component__photo--small {
    width: 40px;
}

.image-component__photo.image-component__photo--large {
    width: 80px;
}

.image-component__info {
    text-align: left;
}

    .image-component__info h3 {
        font-size: 16px;
        font-weight: 400;
    }

.image-component__photo {
    width: 60px;
    aspect-ratio: 1/1;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

    .image-component__photo > a > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .image-component__photo > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.supplier-list-avatar {
    display: grid;
    place-items: center;
    background: #f3f7ef;
    box-shadow: inset 0 0 0 1px rgba(17, 48, 27, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.supplier-list-avatar--initials {
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
    color: #111827;
    box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.08);
}

.supplier-list-avatar > img {
    border-radius: inherit;
}

.supplier-list-avatar--initials span {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
}

.supplier-list-avatar .supplier-list-avatar__initials {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.rating-component {
    justify-content: center;
    gap: 12px;
}

.rating-component--fixed {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--blue_bg);
    padding: 5px 7px;
    border-bottom-left-radius: 3px;
}

    .rating-component--fixed .rating__icon img {
        width: 10px;
    }

.rating-component.rating-component--fixed span {
    font-size: 10px;
}

.rating-component img {
    display: block;
}

.rating-component span {
    font-weight: 600;
    display: block;
    color: var(--black_text);
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    row-gap: 32px;
}

.dash__block--status {
    padding: 28px;
    margin-bottom: 40px;
}

    .dash__block--status img {
        margin-bottom: 26px;
    }

    .dash__block--status span {
        color: var(--grey_text);
        display: block;
        margin-bottom: 5px;
    }

    .dash__block--status h3 {
        font-weight: 700;
        font-size: 24px;
    }

    .dash__block--status:last-child {
        margin: 0;
    }

.refresh-icon {
    transition: all 0.8s ease-out;
}

    .refresh-icon:hover {
        transform: rotate(360deg);
    }

.popup-component {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--popup_bg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    padding-top: 40px;
    padding-bottom: 40px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s 0.3s ease-out;
}

    .popup-component.open-popup {
        opacity: 1;
        pointer-events: all;
        transition: all 0.3s ease-out;
    }

.popup-component--start {
    align-items: flex-start !important;
}

.popup-component__container {
    background: #F9FBFD;
    border-radius: 10px;
    padding-top: 40px;
    max-width: 500px;
    width: calc(100% - 80px);
    position: relative;
}

.popup-global {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.open-popup .popup-global {
    opacity: 1;
    transform: scale(1);
}

.popup-global .close-popup-component {
    position: absolute;
    top: 40px;
    right: 40px;
}

.popup-component__container--edge {
    width: calc(100% - 80px);
    opacity: 0;
    transition: all 0.3s ease-out;
    transform: translateY(20vh);
    padding: 40px 24px !important;
    max-width: 100%;
}

.open-popup .popup-component__container--edge {
    opacity: 1;
    transform: translateY(0);
}

.popup-dialog-container {
    text-align: center;
    padding: 0 40px 27px 40px;
}

.popup-dialog__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.popup-dialog__text {
    font-size: 14px;
    color: var(--grey_text);
    line-height: 1.4;
}

.popup-component__head {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 16px 24px 16px;
    border-bottom: 1px solid var(--outline);
}

.button-design-circle {
    width: 50px;
    aspect-ratio: 1/1;
    background: #fff;
    border: 1px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.popup-component__head h2 {
    font-size: 24px;
    font-weight: 700;
}

.title__label {
    color: var(--grey_text);
    font-size: 14px;
    font-weight: 500;
}

.popup__head__cancel {
    margin-left: auto;
    color: var(--grey_text);
    font-size: 14px;
    transition: all 0.3s ease-out;
    font-weight: 500;
}

    .popup__head__cancel:hover {
        color: var(--blue);
    }

.popup-component__filters {
    margin: 24px 0;
}

    .popup-component__filters ul {
        list-style: none;
        display: flex;
        gap: 24px;
    }

        .popup-component__filters ul li input {
            display: none;
        }

        .popup-component__filters ul li label {
            display: flex;
            height: 50px;
            padding: 15px 24px 14px 24px;
            justify-content: center;
            align-items: center;
            border-radius: var(--border_radius);
            border: 1px solid var(--outline);
            background: #fff;
            transition: all 0.3s ease-out;
            cursor: pointer;
            color: var(--grey_text);
        }

            .popup-component__filters ul li label.is-active-filter,
            .popup-component__filters ul li input:checked + label {
                background: var(--green);
                color: #fff;
                border-color: var(--green);
            }

.dash__col-filters {
    width: 200px;
    border-right: 1px solid var(--outline);
}

.dash__col-filters--larger {
    width: 250px;
}

.dash__col-filters--noborder {
    border: none;
}

.reorder__filters {
    padding: 24px;
}

    .reorder__filters ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

.reorder__filters--with-label ul:not(:last-of-type) {
    margin-bottom: 40px;
}

.reorder__filters ul li ul {
    margin: 24px 0 0px 12px;
}

.reorder__filters li input {
    display: none;
}

.reorder__filters li label {
    position: relative;
    padding-left: 36px;
    cursor: pointer;
}

    .reorder__filters li label:before {
        content: "";
        width: 24px;
        aspect-ratio: 1/1;
        border: 2px solid var(--outline);
        border-radius: 7px;
        position: absolute;
        top: 0;
        left: 0;
    }

.reorder__filters--centered li label:before {
    top: 50%;
    transform: translateY(-50%);
}

.reorder__filters li label:hover:before {
    background: var(--green_bg);
}

.reorder__filters li input:checked + label:before,
.reorder__filters li input:checked + label:hover:before {
    background: var(--green_bg) url('images/tick_icon.svg') no-repeat center center / 10px;
}

.reorder__filters li label:hover h3 {
    opacity: 0.7;
}

.reorder__filters li label h3 {
    font-weight: 400;
    font-size: 16px;
}

.reorder__filters .small-text li label h3 {
    font-size: 14px;
}

.reorder__filters li label span {
    display: block;
    color: var(--grey_text);
    margin-top: 4px;
    font-size: 14px;
}


.dash__block__products {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    min-height: 400px;  Ïñßæåé ôï åëÜ÷éóôï ýøïò ôïõ block products 
}

.dash__product__item {
    padding: 14px;
    border-radius: 7px;
    border: 1px solid var(--outline);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px; /* Ensure minimum height to accommodate additional content */
    height: auto; /* Ensure height auto */
}

.dash__product__image a {
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash__product__image img {
    max-width: 90%;
    max-height: 90%;
}

.dash__product__category {
    margin-top: 12px;
    margin-bottom: 8px;
}

    .dash__product__category a {
        text-decoration: none;
        font-size: 14px;
        color: var(--grey_text);
        font-weight: 600;
        display: block;
    }

.dash__product__title a {
    color: var(--black_text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    transition: all 0.3s ease-out;
}

    .dash__product__title a:hover {
        color: var(--green);
    }

.dash__product__details {
    margin-top: 14px;
    margin-bottom: 12px;
}

.dash__product__qty {
    text-decoration: none;
    font-size: 14px;
    color: var(--grey_text);
    font-weight: 600;
    margin-bottom: 8px;
}

.dash__product__price {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .dash__product__price h3 {
        font-size: 19px;
        font-weight: 700;
        color: var(--blue);
    }

    .dash__product__price .state-label {
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 700;
    }

.dash__product__user-options {
    overflow: hidden;
    height: auto; /* Ensure this expands to fit content */
}

.activate-quantity .add-item {
    margin-top: -38px;
}

.dash__product__user-options .button_design {
    width: 100%;
    height: 38px;
}

.reorder-wrapper {
    gap: 12px;
}

.user-options__quantity-wrapper {
    gap: 8px;
    transition: all 0.3s ease-out;
}

.move-up {
    margin-top: -38px;
}

.user-options__quantity {
    display: flex;
    gap: 8px;
    /*background: var(--blue);*/
    border-radius: var(--border_radius);
    /*padding: 3px;*/
    flex: 1;
    justify-content: space-between;
}

    .user-options__quantity input::-webkit-outer-spin-button,
    .user-options__quantity input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.user-options__quantity__edit {
    width: 38px;
    background: var(--blue);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Firefox */
.user-options__quantity input[type=number] {
    -moz-appearance: textfield;
}

.user-options__quantity input {
    background: transparent;
    border: none;
    /*color: #fff;*/
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    width: 45px;
}

.quantity__modifier {
    width: 32px;
    aspect-ratio: 1/1;
    border-radius: 100%;
    background: var(--blue_bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash__cart-list {
    padding: 28px 24px;
}

.dash__cart__products {
    border-bottom: 1px solid var(--outline);
    margin-bottom: 24px;
}

    .dash__cart__products li {
        display: flex;
        gap: 14px;
        margin-bottom: 24px;
    }

.dash__cart__image {
    width: 60px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dash__cart__image img {
        display: block;
        max-width: 90%;
        max-height: 90%;
    }

.dash__cart__description {
    flex: 1;
}

    .dash__cart__description h3 a {
        text-decoration: none;
        color: var(--black_text);
        font-size: 14px;
        display: block;
    }

.dash__cart__description__details {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.description__details__qty {
    color: var(--grey_text);
    font-size: 14px;
    font-weight: 600;
}

.description__details__price {
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
}

.dash__cart__quantity .user-options__quantity {
    background: transparent;
    padding: 0;
}

.dash__cart__quantity .quantity__modifier {
    width: 24px;
    background: transparent;
    border: 1px solid var(--outline);
}

    .dash__cart__quantity .quantity__modifier svg * {
        fill: var(--black_text);
    }

.dash__cart__quantity .user-options__quantity input {
    color: var(--black_text);
    font-size: 13px;
}

.user-options__quantity--transparent {
    background: transparent;
}

    .user-options__quantity--transparent .quantity__modifier svg * {
        fill: var(--black_text);
    }

    .user-options__quantity--transparent .quantity__modifier {
        background: transparent;
        border: 1px solid var(--outline);
    }

    .user-options__quantity--transparent input {
        color: var(--black_text);
    }

.dash__cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total__text h3 {
    font-size: 16px;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.total__text span {
    color: var(--grey_text);
    font-size: 14px;
    font-weight: 600;
}

.total__price {
    color: var(--blue);
    font-size: 24px;
    font-weight: 700;
}

.dash__cart {
    position: sticky;
    top: -30px;
    min-height: calc(100vh - 270px);
    display: flex;
    flex-direction: column;
}

.dash__cart__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-top: 1px solid var(--outline);
    margin-top: auto;
}

    .dash__cart__footer > .button_design {
        margin-top: 16px; /* Adjust as needed */
    }


/*.dash__cart__footer {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-top: 1px solid var(--outline);
    margin-top: auto;
}

    .dash__cart__footer > .button_design {
        flex: 1;
    }
*/
.dash__list-image {
    height: 200px;
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 40px;
}

    .dash__list-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-component__info .state-label {
    margin-bottom: 14px;
}

.button-icon svg * {
    transition: all 0.3s ease-out;
}

.button-icon:hover svg * {
    fill: var(--green);
}

.label-list {
    gap: 12px;
}

.dash__block__footer {
    padding: 28px;
    border-top: 1px solid var(--outline);
}

.supplier-single-details {
    display: flex;
    gap: 40px;
    padding: 40px 28px;
}

.supplier__content {
    flex: 1;
}

.supplier__content__list ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px 20px;
    list-style: none;
}

    .supplier__content__list ul span {
        display: block;
        color: var(--grey_text);
        margin-bottom: 12px;
        font-weight: 700;
    }

.dash__cart__empty {
    min-height: calc(100vh - 270px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .dash__cart__empty h2 {
        margin-top: 24px;
        margin-bottom: 14px;
    }

    .dash__cart__empty p {
        color: var(--grey_text);
    }

.is-flex-container {
    display: flex;
}

.user-options__edit {
    justify-content: space-between;
    align-items: center;
}

.user-options__edit__field {
    width: 60%;
}

    .user-options__edit__field input {
        width: 100%;
        height: 38px;
        font-weight: 700;
        font-size: 14px;
        border: 1px solid var(--outline);
        padding: 0 20px;
        text-align: center;
        border-radius: 10px;
    }

.user-options__edit__unit {
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    text-align: center;
    color: var(--black_text);
}

.popup-component__container .dash__product__title a {
    font-size: 16px;
    font-weight: 700;
}

.product-details__info {
    align-items: center;
    margin-top: 10px;
    gap: 12px;
}

.product-details__head {
    padding: 0 40px 27px 40px;
    border-bottom: 1px solid var(--outline);
    margin-bottom: 40px;
}

.description__text {
    max-height: 100px;
    overflow: auto;
    margin-top: 12px;
}

.product-details__description {
    padding: 0 40px;
}

.product-details__footer {
    padding: 40px;
    border-top: 1px solid var(--outline);
}

    .product-details__footer .button_design {
        width: 170px;
    }

.product-details__price .big-title {
    color: var(--blue);
}

.product-details__footer--dialog {
    gap: 40px;
    padding: 24px 40px;
}

    .product-details__footer--dialog .button_design {
        width: auto;
        flex: 1;
    }

    .product-details__footer--dialog.single-button .button_design {
        flex: none;
        width: 170px;
    }

.order-details {
    padding: 40px;
}

.order-details__content {
    flex: 1;
    padding-left: 60px;
    margin-left: 60px;
    border-left: 1px solid var(--outline);
}

    .order-details__content ul {
        list-style: none;
        gap: 70px;
    }

        .order-details__content ul span {
            display: block;
            font-size: 14px;
            margin-bottom: 12px;
            font-weight: 500;
            color: var(--grey_text);
        }

        .order-details__content ul p {
            margin: 0;
        }

/* Ensure the conversation container uses flexbox layout */
.messages-conversation-container {
    display: flex;
    min-height: calc(100vh - 310px);
    gap: 16px; /* Optional: Adds space between the columns */
}

.messages-conversation__list {
    width: 378px;
    padding: 24px;
    flex-shrink: 0; /* Prevents the list from shrinking */
}

.messages-conversation__content {
    flex: 1;
    min-height: 100%;
    border-left: 1px solid var(--outline);
    padding: 24px;
    overflow: hidden; /* Ensures content does not overflow */
    max-width: calc(100% - 400px); /* Adjust width based on the list width */
}

.message-list-item__inner {
    padding: 20px 14px;
    transition: all 0.3s ease-out;
    display: flex;
    gap: 14px;
    border-radius: 15px;
    color: var(--black_text);
    min-width: 0; /* Allows the item to shrink */
}

.message-list-item__desc p {
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden; /* Hides overflowing content */
    text-overflow: ellipsis; /* Adds ellipsis for overflowed text */
}

.message-list-item__body {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allows the body to shrink */
    flex: 1; /* Allows the body to take up remaining space */
}

.message-content__body {
    overflow-wrap: break-word; /* Breaks long words to fit within the container */
}

.is-selected-message .message-list-item__inner {
    background: var(--bodybg);
}

.is-selected-message .message-list-item__desc p {
    color: var(--black_text);
}

.message-list-item__inner:hover {
    background: var(--bodybg);
}

.message-list-item__icon img {
    width: 42px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
}

.message-list-item__company-name {
    font-size: 14px;
}

.message-list-item__time {
    font-size: 12px;
    color: var(--grey_text);
    line-height: 1;
}

.message-list-item__title {
    margin: 8px 0;
}

    .message-list-item__title h3 {
        max-width: 75%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 16px;
        font-weight: 600;
    }

.message-list-item a {
    display: block;
    text-decoration: none;
}

.message-list-item__desc p {
    margin: 0;
    font-size: 16px;
    color: var(--grey_text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.unread-message {
    position: relative;
}

    .unread-message:after {
        content: "";
        width: 7px;
        aspect-ratio: 1/1;
        background: #FE5F55;
        border-radius: 100%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }

.messages-issues-container {
    border-radius: 15px;
    border: 1px solid var(--outline);
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 40px;
}

    .messages-issues-container h3 {
        font-size: 14px;
    }

    .messages-issues-container form {
        flex: 1;
    }

    .messages-issues-container ul {
        list-style: none;
        display: flex;
        gap: 24px;
    }

        .messages-issues-container ul li {
            flex: 1;
        }

    .messages-issues-container .button_design {
        width: 100%;
    }

.global-filters ul li input {
    display: none;
}

.global-filters ul li label {
    display: flex;
    height: 50px;
    padding: 15px 24px 14px 24px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border_radius);
    border: 1px solid var(--outline);
    background: #fff;
    transition: all 0.3s ease-out;
    cursor: pointer;
    color: var(--grey_text);
}

.global-filters ul li input:checked + label {
    background: var(--blue_bg);
    color: var(--blue);
}

    .global-filters ul li input:checked + label.red-state {
        background: var(--light_red);
        color: var(--notification_red)
    }

.message-content__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--outline);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.messages-conversation__content .image-component__info h3 {
    font-weight: 700;
}

.message-content__timestamp {
    color: var(--grey_text);
}

.message-content__body {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--outline);
}

    .message-content__body h2 {
        color: var(--black_text);
        font-weight: 600;
        font-size: 24px;
        margin-bottom: 24px;
    }

    .message-content__body p {
        line-height: 1.6;
        font-size: 16px;
        margin-bottom: 0;
    }

.message-content__reply {
    margin-bottom: 24px;
}
.round-cancel-btn {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    fill: #FFF;
    stroke-width: 1px;
    stroke: #E5E8EF;
}
.message-reply__head {
    padding-left: 34px;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

    .message-reply__head.message-reply__head--view {
        padding-left: 0;
    }


.message-reply__text textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.message-reply__text textarea {
    border: 2px solid var(--outline);
    font-size: 12px;
    border-radius: 8px;
    padding: 16px;
    color: var(--black_text);
    min-height: 135px;
    width: 100%;
}

    .message-reply__text textarea::placeholder {
        color: var(--grey_text);
        font-weight: 500;
    }

    .message-reply__text textarea:focus {
        border-color: #007BFF;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

.dash__block__inner {
    gap: 40px;
    min-width: 375px;
}

    .dash__block__inner .user-options__edit__field {
        width: auto;
    }

        .dash__block__inner .user-options__edit__field input {
            width: 130px;
        }

            .dash__block__inner .user-options__edit__field input[type="number"] {
                width: 106px;
            }

    .dash__block__inner span {
        width: auto;
    }

    .dash__block__inner .user-options__quantity {
        flex: none;
    }

    .dash__block__inner .user-options__edit {
        gap: 24px;
    }

.orders-row:not(:last-of-type) {
    margin-bottom: 32px;
}

.global-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .global-check-list input {
        display: none;
    }

    .global-check-list label {
        position: relative;
        padding-left: 38px;
    }

        .global-check-list label:before {
            content: "";
            width: 24px;
            aspect-ratio: 1/1;
            border: 2px solid var(--outline);
            border-radius: 7px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;
        }

    .global-check-list input:checked + label:before,
    .global-check-list input:checked + label:hover:before {
        background: var(--green_bg) url('images/tick_icon.svg') no-repeat center center / 10px;
    }

.dash__categories-list ul {
    list-style: none;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 320px;
}

    .dash__categories-list ul li {
        display: inline-block;
    }

        .dash__categories-list ul li:not(:last-child):after {
            content: ",";
        }

body:before {
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100vh - 100px);
    background: var(--popup_bg);
    position: fixed;
    z-index: 10;
    transition: all 0.3s ease-out;
    opacity: 0;
    pointer-events: none;
}

.search-bar-open:before {
    opacity: 1;
    pointer-events: all;
}

.header:before {
    content: "";
    inset: 0;
    background: var(--popup_bg);
    position: absolute;
    z-index: -1;
    transition: all 0.3s ease-out;
    opacity: 0;
    pointer-events: none;
}

.search-bar-open .header:before {
    opacity: 1;
    pointer-events: all;
}

.search-bar-item {
    transition: all 0.3s ease-out;
}

.search-bar-open .search-bar-item {
    z-index: -2;
}

.search-component__categories span {
    display: inline-block;
    width: auto;
}

    .search-component__categories span:not(:last-child):after {
        content: ",";
    }

.search-component__results {
    position: absolute;
    top: 61px;
    left: 0;
    width: 100%;
    transition: all 0.3s ease-out;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.search-bar-open .search-component__results {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.search-component__results .dash__block__image-component a {
    font-weight: 700;
}

.search-component__results-list {
    padding: 24px 28px;
}

    .search-component__results-list .dash__block__row {
        padding: 0;
        border: none;
    }

        .search-component__results-list .dash__block__row:not(:last-child) {
            margin-bottom: 24px;
        }

.reorder__filters__label {
    margin-bottom: 20px;
    font-size: 14px;
}

.dash__block__collapsible__head {
    padding: 40px;
    position: relative;
}

    .dash__block__collapsible__head span {
        color: var(--grey_text);
        display: block;
        margin-top: 14px;
    }

.collapse-switch {
    width: 36px;
    aspect-ratio: 1/1;
    border-radius: 100%;
    border: 1px solid var(--outline);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 40px;
    top: 50%;
    transition: all 0.3s ease-out;
    transform: translateY(-50%);
}

    .collapse-switch.open-state {
        transform: translateY(-50%) rotate(180deg);
    }

.dash__block__collapsible__content {
    padding: 40px;
    border-top: 1px solid var(--outline);
    display: none;
}

.dash__block__collapsible__content__head {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--outline);
}

.dash__block__collapsible__content__body .dash__block__row {
    padding: 0 0 0 36px;
    border: none;
}

    .dash__block__collapsible__content__body .dash__block__row:not(:last-of-type) {
        margin-bottom: 14px;
    }

@media(max-height:738px) {
    .sign__content {
        display: block;
    }

    .sign__content__wrapper {
        margin: 40px auto;
    }
}

@media(max-width:768px) {
    .sign__image {
        display: none;
    }
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.state-label {
    display: inline-block;
    margin-right: 10px;
}

.product-cat-photo {
    display: block;
    margin: 0 auto;
}

.dash__block__image-component {
    margin-bottom: 0 !important; /* Ìåéþóôå ôçí áðüóôáóç ìåôáîý ôùí óôïé÷åßùí */
}

.dash__block__row {
    height: 100px; /* Ïñßæåé ôï ýøïò ôçò óåéñÜò óå 100px */
    margin-bottom: 2px !important; /* Ìåéþóôå ôçí áðüóôáóç ìåôáîý ôùí ãñáììþí */
    padding-top: 2px !important; /* Ìåéþóôå ôçí åðÜíù åðÝíäõóç */
    padding-bottom: 2px !important; /* Ìåéþóôå ôçí êÜôù åðÝíäõóç */
}

.loading-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

:root {
    --green: #54C5A6;
    --dark-blue: #1a3d6e;
    --white: #fff;
    --black: #000;
}

.dashboard-sidebar .button_design {
    width: 100%;
    background: var(--white);
    color: var(--gray_menu, #687C97); /*var(--black);*/
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    position: relative;
}

.dashboard-sidebar .button_design--selected {
    /*background-color: var(--green);*/
    color: var(--blue, #12355B); /*var(--white);*/
}

.dashboard-sidebar .button_design--statistics-selected {
    background-color: #edf6f5;
    border-radius: 12px;
}

.dashboard-sidebar .button_design:hover {
    background-color: #f0f0f0;
    color: var(--black);
}

.dashboard-sidebar .place-order-cta {
    background-color: var(--dark-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .dashboard-sidebar .place-order-cta:hover {
        background-color: #0f2a5a;
    }

.sidebar-navigation__button-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    width: 100%;
    position: relative;
    gap: 10px;
}

.sidebar-navigation__pending-badge {
    display: grid;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 7px;
    place-items: center;
    border-radius: 999px;
    background: var(--green_bg, #E4F8F5);
    color: var(--green, #54C5A6);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.dashboard-sidebar .button_design--selected .sidebar-navigation__pending-badge {
    background: var(--green, #54C5A6);
    color: #fff;
}

.sidebar-navigation__icon {
    left: 10px;
}

.new-price-row {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.new-price-input {
    margin-left: 10px;
    width: 70px; /* Adjust width to accommodate 7 characters */
    text-align: right;
}


/* Dashboard additions */
.dash-wrapper-columns {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.dash-column {
    display: flex;
    flex-direction: column;
}

.dash-column--wide {
    flex: 1;
    gap: 24px;
    min-width: 0;
}

.dash-column--narrow {
    width: 260px;
    gap: 20px;
}

.recommended-suppliers {
    background: #fff;
}

.recommended-suppliers__head {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 1.1fr;
    align-items: center;
    padding: 26px 32px;
    font-weight: 700;
    color: var(--black_text);
    border-bottom: 1px solid var(--outline);
}

.recommended-suppliers__head span:nth-child(2) {
    text-align: center;
}

.recommended-suppliers__head span:nth-child(3) {
    text-align: right;
}

.recommended-suppliers__body {
    width: 100%;
}

.recommended-suppliers__row {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 1.1fr;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 1px solid var(--outline);
    gap: 16px;
    min-height: 110px;
}

.recommended-suppliers__row:last-child {
    border-bottom: none;
}

.recommended-suppliers__row--clickable {
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.recommended-suppliers__row--clickable:hover,
.recommended-suppliers__row--clickable:focus-visible {
    background: #f8fbfd;
    box-shadow: inset 4px 0 0 var(--green);
}

.recommended-suppliers__row--clickable:active {
    transform: scale(0.998);
}

.recommended-suppliers__supplier {
    display: flex;
    align-items: center;
    gap: 18px;
}

.recommended-suppliers__photo {
    width: 72px;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-grey);
    flex-shrink: 0;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.04);
}

.recommended-suppliers__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-suppliers__info button {
    font-size: 18px;
    font-weight: 600;
    color: var(--black_text);
    text-align: left;
    display: block;
}

.recommended-suppliers__info .dashboard-row-link-text {
    display: block;
    font-size: 18px;
    text-align: left;
}

.recommended-suppliers__orders {
    color: var(--grey_text);
    margin-top: 6px;
    display: block;
    font-size: 14px;
}

.recommended-suppliers__restaurants {
    color: var(--blue);
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
}

.recommended-suppliers__rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    color: var(--black_text);
    font-size: 16px;
}

.recommended-suppliers__rating .rating__icon img {
    width: 18px;
}

.recommended-suppliers__suggestion {
    text-align: right;
}

.recommended-suppliers__suggestion span {
    color: var(--grey_text);
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

.top-suppliers__header {
    padding: 22px 28px 12px;
}

.top-suppliers__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.supplier-card__message--info {
    color: var(--grey);
}

.supplier-action-message {
    border-radius: 16px;
    padding: 16px 18px;
    font-weight: 700;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: var(--box-shadow);
}

.supplier-action-message--success {
    background: #ecfdf3;
    border-color: #a6f4c5;
    color: #027a48;
}

.supplier-action-message--error {
    background: #fef3f2;
    border-color: #fecdca;
    color: #b42318;
}

.supplier-catalogue__header {
    align-items: center;
}

.supplier-catalogue {
    padding: 0;
    overflow: hidden;
}

.supplier-catalogue-empty {
    padding: 28px 32px;
    color: var(--grey_text);
    font-weight: 700;
}

.supplier-catalogue__category + .supplier-catalogue__category {
    border-top: 1px solid var(--outline);
}

.supplier-catalogue__category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 32px 14px;
}

.supplier-catalogue__category-head h3 {
    color: var(--black_text);
    font-size: 18px;
    font-weight: 800;
}

.supplier-catalogue__category-head span {
    color: var(--grey_text);
    font-size: 14px;
    font-weight: 700;
}

.supplier-catalogue__subcategory {
    padding: 0 32px 24px;
}

.supplier-catalogue__subcategory h4 {
    color: var(--grey);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.supplier-catalogue__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.supplier-catalogue__product {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--outline);
    border-radius: 14px;
    background: #fff;
}

.supplier-catalogue__product-image {
    width: 58px;
    height: 58px;
    border-radius: 14px;
}

.supplier-catalogue__product-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.supplier-catalogue__product-body strong {
    color: var(--black_text);
    font-size: 15px;
    line-height: 1.25;
}

.supplier-catalogue__product-body span,
.supplier-catalogue__product-body small {
    color: var(--grey_text);
    font-size: 13px;
    line-height: 1.35;
}

.supplier-catalogue__price {
    color: var(--blue);
    font-weight: 800;
    white-space: nowrap;
}

.top-suppliers__grid {
    padding: 0 28px 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.top-supplier-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--outline);
    border-radius: 14px;
    box-shadow: 0px 7.67791px 14.716px 0px rgba(62, 63, 122, 0.04);
    background: #fff;
}

.top-supplier-card__image {
    width: 64px;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: var(--light-grey);
    flex-shrink: 0;
}

.top-supplier-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-supplier-card .rating-component--fixed {
    background: var(--blue_bg);
    padding: 5px 8px;
}

.top-supplier-card .rating-component--fixed .rating__icon img {
    width: 12px;
}

.top-supplier-card__body {
    flex: 1;
}

.top-supplier-card__body button {
    font-weight: 700;
    color: var(--black_text);
    text-align: left;
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.top-supplier-card__orders {
    color: var(--grey_text);
    font-weight: 700;
    display: block;
    font-size: 14px;
}

.status-card {
    padding: 22px;
    text-align: left;
    box-shadow: 0px 7.67791px 14.716px 0px rgba(62, 63, 122, 0.04);
}

.status-card img {
    width: 40px;
    margin-bottom: 14px;
}

.status-card span {
    color: var(--grey_text);
    display: block;
    margin-bottom: 6px;
}

.status-card h3 {
    font-size: 20px;
    font-weight: 700;
}

.status-card--delivered {
    border: 1px solid var(--delivered_state_bg);
}

.status-card--progress {
    border: 1px solid var(--progress_state_bg);
}

.text-right {
    text-align: right;
}

/* Supplier details layout */
.supplier-header {
    gap: 18px;
}

.supplier-header__info {
    flex: 1;
    min-width: 0;
}

.supplier-header__info h2 {
    margin: 0;
}

.supplier-tags {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, max-content);
    grid-auto-columns: max-content;
    gap: 10px;
    margin-top: 8px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.supplier-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.supplier-card {
    padding: 0;
}

.supplier-card__main {
    display: flex;
    gap: 32px;
    padding: 36px 32px 12px;
}

.supplier-card__image {
    width: 120px;
}

.supplier-card__details {
    flex: 1;
}

.supplier-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
}

.supplier-card__field span {
    display: block;
    color: var(--grey_text);
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 14px;
}

.supplier-card__field p {
    margin: 0;
    color: var(--black_text);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.supplier-card__input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--outline);
    border-radius: 10px;
    background: #fff;
    color: var(--black_text);
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

.supplier-card__input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(89, 190, 171, 0.14);
}

.supplier-card__split-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.supplier-card .dash__block__footer {
    border-top: 1px solid var(--outline);
}

.supplier-order-email {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.3fr);
    gap: 18px 24px;
    align-items: end;
    margin: 12px 32px 24px;
    padding: 18px;
    border: 1px solid var(--outline);
    border-radius: 16px;
    background: #f8fbff;
}

.supplier-order-email__copy span {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.supplier-order-email__copy strong {
    display: block;
    color: var(--black_text);
    font-size: 18px;
    line-height: 1.2;
}

.supplier-order-email__copy p {
    margin: 5px 0 0;
    color: var(--grey_text);
    font-weight: 700;
    line-height: 1.35;
}

.supplier-order-email__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.supplier-order-email__message {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 800;
}

.supplier-order-email__message--success {
    color: var(--green);
}

.supplier-order-email__message--error {
    color: #d92d20;
}

.supplier-card__footer {
    align-items: center;
    gap: 12px;
}

.supplier-card__message {
    margin-right: auto;
    font-size: 14px;
    font-weight: 700;
}

.supplier-card__message--success {
    color: var(--green);
}

.supplier-card__message--error {
    color: #d92d20;
}

@media (max-width: 900px) {
    .supplier-order-email {
        grid-template-columns: 1fr;
    }

    .supplier-order-email__controls {
        grid-template-columns: 1fr;
    }
}

.supplier-orders__header {
    align-items: center;
}

.supplier-orders .dash__block__row {
    align-items: center;
}

.supplier-orders .dash__block__image-component {
    gap: 16px;
}

.button_design[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Suppliers page adjustments */
.sort-menu-wrapper {
    position: relative;
}

.sort-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid var(--outline);
    border-radius: 10px;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 10;
    min-width: 180px;
}

.sort-menu__item {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: #fff;
    border: none;
    font-weight: 600;
    color: var(--black_text);
}

.sort-menu__item:hover,
.sort-menu__item--active {
    background: var(--light-grey);
}

.orders-sort-wrapper {
    margin-left: auto;
}

.orders-sort-trigger {
    min-width: 160px;
    justify-content: center;
}

.orders-sort-menu {
    display: grid;
    gap: 8px;
    width: 300px;
    padding: 12px;
    border: 1px solid rgba(229, 232, 239, 0.95);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98)),
        #fff;
    box-shadow: 0 24px 60px rgba(18, 53, 91, 0.16);
    overflow: visible;
    animation: sortMenuIn 160ms ease-out;
}

.orders-sort-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 28px;
    width: 14px;
    height: 14px;
    border-left: 1px solid rgba(229, 232, 239, 0.95);
    border-top: 1px solid rgba(229, 232, 239, 0.95);
    background: #fff;
    transform: rotate(45deg);
}

.orders-sort-menu__header {
    padding: 6px 8px 8px;
}

.orders-sort-menu__header span {
    display: block;
    color: var(--black_text);
    font-size: 15px;
    font-weight: 900;
}

.orders-sort-menu__header small,
.orders-sort-menu__item small {
    display: block;
    color: var(--grey_text);
    font-size: 12px;
    font-weight: 600;
}

.orders-sort-menu__item {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: var(--black_text);
    text-align: left;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.orders-sort-menu__item:hover,
.orders-sort-menu__item--active {
    border-color: rgba(74, 198, 168, 0.32);
    background: rgba(74, 198, 168, 0.09);
    box-shadow: 0 10px 24px rgba(74, 198, 168, 0.12);
    transform: translateY(-1px);
}

.orders-sort-menu__item strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 900;
}

.orders-sort-menu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(145deg, #dff8f1, #fff0a9);
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

@keyframes sortMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Catalogue view refresh */
.catalogue-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.pill {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--outline);
    background: #fff;
    font-weight: 700;
    color: var(--black_text);
}

.pill--active {
    background: var(--green_bg);
    border-color: var(--green);
}

.catalogue-col {
    height: 80%;
}

.catalogue-shell {
    height: 100%;
}

.catalogue-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 100%;
}

.catalogue-filters {
    border-right: 1px solid var(--outline);
    padding: 20px 18px;
    overflow-y: auto;
}

.catalogue-filters__head span {
    font-weight: 700;
}

.catalogue-filters__list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-item__label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.filter-item__label input {
    margin-top: 4px;
}

.filter-item__label h3,
.filter-item__label h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.filter-item__label span {
    color: var(--grey_text);
    font-size: 13px;
}

.filter-item__label--sub h4 {
    font-weight: 600;
}

.subfilters {
    list-style: none;
    padding-left: 28px;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalogue-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    overflow-y: auto;
}

.catalogue-card {
    border: 1px solid var(--outline);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0px 7px 14px rgba(62, 63, 122, 0.04);
}

.catalogue-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogue-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalogue-card__category {
    color: var(--grey_text);
    font-size: 13px;
    display: block;
}

.catalogue-card__title {
    font-weight: 700;
    color: var(--black_text);
    text-align: left;
}

.catalogue-card__package {
    color: var(--grey_text);
    font-size: 13px;
}

.catalogue-card__price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalogue-card__price {
    font-weight: 700;
    color: var(--black_text);
}

.catalogue-card__badge {
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.catalogue-card__badge--green {
    background: var(--green_bg);
    color: var(--green);
}

.catalogue-card__badge--red {
    background: var(--light_red);
    color: var(--notification_red);
}

.catalogue-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Product modal styling */
.product-modal {
    max-width: 540px;
    padding: 32px;
}

.product-modal__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.product-modal__image {
    display: flex;
    justify-content: center;
}

.product-modal__image img {
    width: 200px;
    height: 140px;
    object-fit: contain;
}

.product-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.product-modal__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--black_text);
    text-align: center;
}

.product-modal__info-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-modal__package {
    color: var(--grey_text);
    font-weight: 600;
    font-size: 14px;
}

.product-modal__description h4 {
    margin: 0 0 8px;
    font-weight: 700;
}

.product-modal__description p {
    margin: 0;
    color: var(--black_text);
    line-height: 1.5;
}

.product-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-modal__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--black_text);
}

.product-modal--wide {
    max-width: 600px;
    padding: 28px;
}

.product-modal__content--scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0 4px;
}

.product-modal__image--large {
    justify-content: center;
}

.product-modal__image--large img {
    width: 260px;
    height: 190px;
}

.product-modal__meta--center {
    align-items: center;
}

.product-modal__category {
    color: var(--grey_text);
    font-size: 15px;
}

.product-modal__description--border {
    padding-top: 12px;
    border-top: 1px solid var(--outline);
    width: 100%;
}

.product-modal__footer--sticky {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--outline);
    width: 100%;
}

.send-confirm {
    max-width: 520px;
    width: calc(100% - 80px);
    padding: 28px;
}

.send-confirm__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.send-confirm__content h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.send-confirm__content p {
    margin: 0;
    color: var(--grey_text);
    line-height: 1.5;
}

.send-confirm__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.send-confirm__actions .button_design {
    min-width: 180px;
}

/* Messages layout refresh */
.messages-conversation-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    padding: 24px;
}

.message-list-item__body__head .message-list-item__time {
    color: var(--grey_text);
    font-size: 13px;
}

.messages-issues-container {
    margin-bottom: 20px;
}

.messages-issues-container--top {
    margin: -6px 0 28px;
    padding: 0;
    border: 0;
    justify-content: flex-end;
}

.messages-issues-container h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.messages-pill-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.messages-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.messages-body {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black_text);
}

.messages-pill-row--framed {
    border: 1px solid var(--outline);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-end;
    background: #fff;
}

.messages-pill-label {
    color: var(--black_text);
    font-weight: 500;
    font-size: 13px;
    margin-right: auto;
}

.pill--blue {
    background: var(--blue_bg);
    color: var(--blue);
    border: none;
}

.pill--red {
    background: var(--light_red);
    color: var(--notification_red);
    border: none;
}

.pill--ghost {
    background: #fff;
    color: var(--grey_text);
    border: 1px solid var(--outline);
}

.message-list-item {
    padding: 14px 16px;
    border-radius: 16px;
    width: 100%;
    transition: background 0.2s ease;
    border: 1px solid transparent;
}

.message-list-item.is-selected-message {
    background: #f2f6fb;
    border-color: var(--outline);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

.message-list-item__button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
}

.message-list-item__inner {
    display: flex;
    gap: 14px;
}

.message-list-item__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    flex: 0 0 56px;
    border-radius: 14px;
}

.message-list-item__icon img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
}

.message-list-item__body__head {
    margin-bottom: 4px;
}

.message-list-item__company-name {
    font-weight: 600;
    color: var(--grey_text);
}

.message-list-item__title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--black_text);
}

.message-list-item__time {
    color: var(--grey_text);
    font-weight: 600;
}

.message-list-item__desc p {
    margin: 4px 0 0;
    color: var(--grey_text);
}

.message-list-item__preview {
    margin: 0;
}

.message-status {
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    margin-left: 10px;
    white-space: nowrap;
}

.message-status--awaiting {
    background: #fff3e8;
    color: #ff8515;
}

.message-status--progress {
    background: var(--progress_state_bg);
    color: var(--progress_state_text);
}

.message-status--delivered {
    background: var(--delivered_state_bg);
    color: var(--green);
}

.message-status--cancelled {
    background: var(--light_red);
    color: var(--notification_red);
}

.place-order__title-row {
    align-items: center;
    gap: 12px;
}

.place-order__title-group h2 {
    margin: 0;
}

.place-order__subtitle {
    color: var(--grey_text);
    font-weight: 600;
}

.place-order__row {
    align-items: center;
}

.place-order__supplier-name {
    font-weight: 600;
    color: var(--black_text);
}

.place-order__row .place-order__categories {
    color: var(--grey_text);
    font-weight: 600;
    display: -webkit-box;
    overflow: hidden;
    max-height: 2.8em;
    line-height: 1.4;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.place-order__categories-cell {
    min-width: 0;
    overflow: hidden;
}
