.logo-wr {
    margin-bottom: 40px;
}
.my-form {
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
}
.my-cart {
    overflow: visible;
}
.card-text {
    font-size: 14px;
}

.btn {
    padding: 11px;
    border: none;
}

h1 {
    font-size: 30px;
}

.form-select {
    font-size: 0.875rem;
    padding: 12px 1.375rem;
    border: 1px solid #dee2e6;
}
.phone-info {
    font-size: 12px;
}
.phone-info a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    display: inline-block;
    margin: 4px 0 0 0;
}

.table-mobile .grid {
    display: grid;
    border-bottom: 1px solid #fff;
    padding: 20px;
    font-size: 14px;
    line-height: 14px;
}
.table-mobile .grid,
.table tbody tr {
    background: #fff;
}
.table-mobile .grid.new,
.table tr.new {
    background: rgba(144, 156, 186, 0.67);
}
.table-mobile .grid.ozon-style,
.table tr.ozon-style {
    background: #2359f4;
    color:#fff;
}
.table-mobile .grid.wb-style,
.table tr.wb-style {
    background: #ad119c;
    color:#fff;
}
.table-mobile .grid.ya-style,
.table tr.ya-style {
    background: #e05c53;
    color:#fff;
}
.table-mobile .grid.cdek-style,
.table tr.cdek-style {
    background: #2aa84a;
    color:#fff;
}
.table-mobile .grid.ozon-style a,
.table-mobile .grid.wb-style a,
.table-mobile .grid.ya-style a,
.table-mobile .grid.cdek-style a,
.table tr.ozon-style a,
.table tr.wb-style a,
.table tr.ya-style a,
.table tr.cdek-style a {
    color:#fff;
}

.table-mobile {
    display: none;
}

/*.table tr.new.ya-style td {
    color: #000000;
}
.table tr.new.ya-style td a {
    color: #000000;
}*/

.table-mobile .grid:nth-of-type(odd),
.table-striped > tbody > tr:nth-of-type(odd) {
    background: #9b9999;
}
.table-mobile .grid:nth-of-type(odd) a,
.table-striped > tbody > tr:nth-of-type(odd) a {
    color: #000000;
}

.table-mobile .grid.wb-style:nth-of-type(odd),
.table-striped > tbody > tr.wb-style:nth-of-type(odd) {
    background: #a22d95;
}
.table-mobile .grid.ya-style:nth-of-type(odd),
.table-striped > tbody > tr.ya-style:nth-of-type(odd) {
    background: #c64d3d;
}

.table-mobile .grid.ozon-style:nth-of-type(odd),
.table-striped > tbody > tr.ozon-style:nth-of-type(odd) {
    background: #2e5cdd;
}
.table-mobile .grid.cdek-style:nth-of-type(odd),
.table-striped > tbody > tr.cdek-style:nth-of-type(odd) {
    background: #259443;
}

.table-mobile .grid:nth-of-type(odd) > *,
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color:#fff;
}

.table-mobile .grid:nth-of-type(odd) > * a
.table-striped > tbody > tr:nth-of-type(odd) > * a {
    color:#fff;
}

.table-mobile .grid.new,
.table tr.new td {
    color:#fff;
}

.table tr.new td a {
    color:#fff;
}

.flash-message {
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 100;
}
.align-left {
    text-align: left;
}

.item .additional-info {
    background: #eee;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
}

.btn-reset {
    margin-top: 10px;
}
.btn.preload {
    background-image: url("../../img/preload.svg");
    background-position: center;
    background-repeat: no-repeat;
    text-indent: -9999px;
    position: relative;
    background-size: 80% 80%;
}
.btn.btn-reset:hover {
    background: #3c5db4;
    color: #fff;
}
.select2-container {
    display: block;
    width: 100% !important;
}
#map {
    width: 100%; height: 500px; padding: 0; margin: 0;
}
.menu-wr {
    padding-bottom: 7px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 50px;
    grid-gap: 10px;
    max-width: 568px;
    margin: 0 auto;
}
.menu-wr.menu-wr-cdek {
    grid-template-columns: 1fr 1fr 1fr 1fr 50px;
    max-width: 740px;
}
.my-settings {
    border-radius: 5px !important;
}
.item-settings .dropdown-menu.show {
    font-size: 13px;
}
.menu-wr .market-dropdown-menu.show {
    font-size: 13px;
}
.menu-wr .market-dropdown-menu .dropdown-item {
    font-size: 13px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.my-btn {
    width: 100%;
}
.my-btn.ya {
    background: #fbd128;
    font-weight: bold;
    color:#000000;
}
.my-btn.oz {
    background: #3c5db4;
    font-weight: bold;
    color:#fff;
}
.my-btn.wb {
    background: #9d2c9b;
    font-weight: bold;
    color:#fff;
}
.my-btn.cdek {
    background: #198754;
    font-weight: bold;
    color:#fff;
}
.my-btn.cdek-calc {
    background: #111111;
    font-weight: bold;
    color:#fff;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
}
.btn-dark:hover,
.my-btn.oz:hover,
.my-btn.wb:hover,
.my-btn.ya:hover,
.my-btn.cdek:hover,
.my-btn.cdek-calc:hover {
    background: #f03c30;
    color:#fff;
    transition: all 0.15s ease-in-out;
}
.my-btn.red {
    background: #f03c30;
    color:#fff;
}
.my-btn.red:hover {
    background: #000000;
    color:#fff;
    transition: all 0.15s ease-in-out;
}
.pvz-reco {
    padding: 12px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 13px;
}
.pvz-wb {
    background: rgba(157, 44, 155, 0.12);
}
.pvz-oz {
    background: rgba(0, 128, 255, 0.12);
}
.pvz-ya {
    background: rgba(250, 210, 39, 0.22);
}
.pvz-cdek {
    background: rgba(25, 135, 84, 0.18);
}
label {
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 700;
}
.notify {
    padding: 20px 50px;
    text-align: left;
    border-radius: 3px;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 16px;
    position: relative;
}
.notify.warning {
    background: #e8c8e9;
}
.notify.success {
    background: #dae9c8;
}
.notify .warning-icon {
    width: 15px;
    height: 15px;
    position: absolute;
    left: 20px;
}
.notify .close {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 15px;
    background: url("/public/img/close.svg") no-repeat center;
    background-size: 25px;
    top: 15px;
    cursor: pointer;
}
.notify h3 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}
.store-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
}
.store-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}
.store-link-card:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    color: #fff;
}
.store-link-card.rustore {
    background: linear-gradient(135deg, #3f5bd8, #2d3f8f);
}
.store-link-card.gplay {
    background: linear-gradient(135deg, #15a34a, #15803d);
}
.store-link-card.appstore {
    background: linear-gradient(135deg, #111827, #374151);
}
.store-link-card.neutral {
    background: linear-gradient(135deg, #334155, #475569);
}
.store-link-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.store-link-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}
.store-link-text strong {
    font-size: 15px;
}
.store-link-text small {
    font-size: 12px;
    opacity: 0.95;
}
.input-group-text {
    margin: 0;
    border-left: 0;
}

.warning-pvz {
    display: none;
    padding: 10px;
    color: #fff;
    font-weight: bold;
}
.warning-pvz.red {
    background: #e3525d;
    margin-top: 10px;
    display: block;
}
.warning-pvz.yellow {
    background: #d78732;
    margin-top: 10px;
    display: block;
}
.item-file-warning {
    position: fixed;
    z-index: 1;
    background: #000000b8;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}
.item-file-warning .content {
    max-width: 300px;
    margin: 0 auto;
    top: 40%;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    position: sticky;
    font-size: 14px;
}
.item-file-warning .content strong {
    color: #f03c30;
}
.item-file-warning .content .actions {
    text-align: center;
    margin: 10px 0 0 0;
}
.item-file-warning .content .actions > div {
    display: inline-block;
    font-weight: bold;
    color: #fff;
    transition: all 0.15s ease-in-out;
    padding: 11px;
    border-radius: 5px;
}
.item-file-warning .content .actions .yes {
    background: #3c5db4;
}
.item-file-warning .content .actions .no {
    background: #f03c30;
}
.pvz-closing-warning {
    position: fixed;
    z-index: 2;
    background: #000000b8;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}
.pvz-closing-warning__inner {
    max-width: 340px;
    margin: 0 auto;
    top: 40%;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    position: sticky;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.pvz-closing-warning__text {
    color: #111;
}
@media (max-width: 600px) {
    .menu-wr {
        grid-template-columns: auto auto auto 50px;
    }
    .menu-wr.menu-wr-cdek {
        grid-template-columns: auto auto auto auto 50px;
    }
    .table-normal {
        display: none;
    }
    .table-mobile {
        display: block;
    }
}

@media (max-width: 470px) {
    .input-group .form-control {
        width: 100%;
    }
    .menu-wr {
        grid-template-columns: 1fr 1fr;
    }
    .menu-wr.menu-wr-cdek {
        grid-template-columns: 1fr 1fr;
    }

    .input-group .input-group-text {
        width: 100%;
        border: none;
        font-size: 12px;
        background: none;
    }

    /* Mobile: dropstart menu from settings must not go out of viewport to the left. */
    .item-settings.dropstart .dropdown-menu.show {
        left: 0 !important;
        right: auto !important;
        top: calc(100% + 8px) !important;
        inset: auto auto auto 0 !important;
        transform: none !important;
        max-width: calc(100vw - 40px);
    }
}


@media (max-width: 450px) {
    .btn-group {
        display: block;
    }
    .btn-group > .btn {
        width: 100%;
        display: block;
        border-radius: 0;
        margin: 0 0 10px !important;
    }

    .input-group .input-group-text {
        width: 100%;
        border: none;
        font-size: 12px;
        background: none;
    }
    .btn-group > .btn.my-settings {
        margin: 0 !important;
    }
}

@media (max-width: 400px) {
    .card-header .btn {
        width: 100%;
    }
}
