.shop-search-form {
    position: relative;
}

.shop-search-form input {
    padding-right: 36px;
}

.shop-search-form .searchclearbtn {
    position: absolute;
    top: 50%;
    right: 108px;
    width: 22px;
    height: 23px;
    margin-top: -11px;
    background-image: url(/img/closebtn.png);
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 2;
}

.shop-search-form .searchclearbtn:hover {
    background-position: center bottom;
}

.shop .shotlislzgl {
    width: 100%;
    text-align: center;
    font-size: 1.4em;
    line-height: 1.35;
    font-weight: 400;
    margin: 18px 0 8px;
}

.shop .catalog-stats {
    margin-bottom: 0.5rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 1.5rem 2rem;
    padding: 1rem 0 2.5rem;
    align-items: start;
}

.shop-aside {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
    padding: 0.85rem 0.95rem 1rem;
    background: #f7f7f8;
    border: 1px solid #e2e2e4;
    border-radius: 4px;
}

.shop-aside-head {
    text-align: center;
    margin: 0 0 0.75rem;
}

.shop-aside-head strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 700;
    color: #222;
}

.shop-aside-head hr {
    display: block;
    width: 72%;
    height: 1px;
    margin: 0.55rem auto 0;
    border: 0;
    background: #8a8a90;
}

.shop-aside-lead {
    margin: 0 0 0.65rem;
    color: #333;
}

.shop-aside-rules {
    margin: 0;
    padding: 0 0 0 1.1rem;
}

.shop-aside-rules li {
    margin: 0 0 0.55rem;
}

.shop-aside-rules li:last-child {
    margin-bottom: 0;
}

.shop-aside-pickup {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0.9rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px dashed #d0d0d4;
    font-size: 0.86rem;
    color: #555;
    line-height: 1.4;
}

.shop-aside-basket {
    margin: 0.85rem 0 0;
}

.shop-aside-link {
    font-weight: 700;
}

.shop-list {
    gap: 0;
}

.shop .card_search {
    display: grid;
    grid-template-columns: 50px 90px minmax(0, 1fr);
    column-gap: 10px;
    border-radius: 4px;
    position: relative;
    min-height: 150px;
    margin: 5px 0;
    width: 100%;
    padding: 10px;
    border: #ccc 1px solid;
    background-color: #fff;
}

.shop .card_search_l1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
    height: auto;
    margin: 0;
}

.shop .card_num {
    padding: 4px 10px;
    border-radius: 20px;
    text-align: center;
    background-color: #ccc;
    font-size: 14px;
    font-weight: bold;
    margin: 8px auto 0;
    width: fit-content;
    min-width: 2em;
}

.shop .card_af {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 80px;
    height: 105px;
    box-shadow: #999 0 0 6px;
    background-color: #eee;
    background-size: 80px 105px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 8px 0 0;
    justify-self: center;
}

.shop .card_title {
    grid-column: 3;
    width: auto;
    margin: 8px 0 6px;
    font-size: 16px;
    text-align: left;
    font-weight: bold;
    line-height: 1.2;
}

.shop .card_txt {
    grid-column: 3;
    width: auto;
    min-height: 70px;
    margin: 0;
    padding-bottom: 8px;
    font-size: 14px;
    text-align: left;
    line-height: 15px;
    color: #7b8a97;
}

.shop .tipizd {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100px;
    max-width: 100px;
    padding: 3px 0;
    text-align: center;
    background-color: #337ab7;
    color: #fff !important;
    font-size: 12px;
}

.shop .sh_card_bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    margin-top: 6px;
    padding-left: 150px;
    min-height: 37px;
}

.shop .sh_card_str {
    width: 191px;
    height: 37px;
    margin-left: auto;
    flex: 0 0 191px;
    overflow: hidden;
}

.shop .sh_card_str2 {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.shop .sh_card_tobsk,
.shop .sh_card_tobsk_zak,
.shop button.sh_card_tobsk {
    width: 57px;
    height: 37px;
    float: left;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 10px 0 0 10px;
    background-color: transparent;
    background-position: top center;
    background-repeat: no-repeat;
    cursor: pointer;
    appearance: none;
}

.shop .sh_card_tobsk,
.shop button.sh_card_tobsk {
    background-image: url(/img/tobsk.jpg);
}

.shop a .sh_card_tobsk {
    display: block;
}

.shop .sh_card_tobsk:hover,
.shop button.sh_card_tobsk:hover {
    background-position: bottom center;
}

.shop .sh_card_tobsk_zak {
    background-image: url(/img/tobsk2.jpg);
    cursor: default;
}

.shop .card_search.is-held .sh_card_tobsk2,
.shop .card_search.is-mine .sh_card_tobsk2 {
    background-color: #b5b5b5;
}

.shop .sh_card_tobsk2 {
    width: 4px;
    height: 37px;
    float: right;
    background-color: orange;
}

.shop .card_price {
    background-color: #585b66;
    color: #fff;
    float: right;
    width: 130px;
    height: 37px;
    padding: 9px 5px;
    font-size: 12px;
    text-align: center;
    line-height: 19px;
}

.shop-tobsk-form {
    float: left;
    margin: 0;
}

.shop-extend-form {
    display: inline;
    margin-left: 0.4rem;
}

.shop-extend-link {
    border: 0;
    padding: 0;
    background: none;
    color: var(--accent);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.shop-price {
    background: #585b66;
    color: #fff;
    padding: 0.45rem 0.75rem;
    min-width: 8rem;
    text-align: center;
    font-size: 0.9rem;
}

.shop-condition,
.shop-hold-note {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: #666;
}

.shop-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.shop-btn,
.shop-hold-badge {
    display: inline-block;
    border: 0;
    background: #e8e8e8;
    color: #222;
    padding: 0.45rem 0.8rem;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.shop-btn-primary {
    background: var(--btn, #2b9cd8);
    color: #fff;
}

.shop-btn-primary:hover,
.shop-btn-primary:focus-visible {
    background: var(--header, #1877a8);
}

.shop-btn-danger {
    background: #eee;
    color: #8a1f1f;
}

.shop-hold-badge {
    background: #d9d9d9;
    cursor: default;
}

.shop-inline-form {
    display: inline;
    margin: 0;
}

.shop-cabinet {
    margin-top: 1rem;
}

.shop-cabinet-lead {
    max-width: 46rem;
    line-height: 1.45;
}

.shop-basket-list,
.shop-order-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.shop-basket-item,
.shop-order {
    border: 1px solid #ccc;
    background: var(--card, #fff);
    padding: 0.85rem 1rem;
}

.shop-basket-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.shop-basket-actions,
.shop-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: flex-start;
}

.shop-checkout-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #ccc;
    background: #f6f6f6;
}

.shop-checkout-bar-orders {
    margin-bottom: 0.75rem;
}

.shop-checkout-bar-title {
    margin: 0;
    line-height: 1.45;
}

.shop-order-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.4rem;
}

.shop-order-items {
    margin: 0.3rem 0;
    padding-left: 1.1rem;
}

.shop-empty {
    margin-top: 1rem;
}

.shop-orders-summary {
    margin: 0.75rem 0 0.5rem;
    color: #444;
}

.shop-cabinet .catalog-pagination {
    margin: 0.75rem 0 1rem;
}

@media (max-width: 800px) {
    .shop-layout,
    .shop-basket-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 749px) {
    .shop .card_search {
        grid-template-columns: 40px 80px minmax(0, 1fr);
        column-gap: 8px;
    }

    .shop .sh_card_bottom {
        padding-left: 0;
    }

    .shop .sh_card_str {
        margin-left: auto;
    }
}
