.shop-actual-products {
    --sap-text: #111111;
    --sap-muted: #999999;
    --sap-status: #666666;
    --sap-green: #28a745;
    --sap-border: #e0e0e0;
    --sap-card-width: 200px;
    --sap-gap: 12px;

    margin: 36px 0 0;
    min-width: 0;
    font-family: "HelveticaNeueCyr", Helvetica, sans-serif;
    color: var(--sap-text);
}

@media all and (min-width: 768px) {
    .shop-actual-products {
        --sap-card-width: 210px;
        --sap-gap: 14px;
        margin-top: 44px;
    }
}

.shop-actual-products__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.shop-actual-products__titles {
    min-width: 0;
}

.shop-actual-products__title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sap-text);
}

@media all and (min-width: 768px) {
    .shop-actual-products__title {
        font-size: 28px;
    }
}

.shop-actual-products__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: var(--sap-muted);
}

.shop-actual-products__nav {
    display: none;
    flex-shrink: 0;
    gap: 8px;
}

@media all and (min-width: 768px) {
    .shop-actual-products__nav {
        display: flex;
    }
}

button.shop-actual-products__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--sap-border);
    border-radius: 8px;
    background: #fff;
    color: #555;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

button.shop-actual-products__nav-btn:hover:not(:disabled),
button.shop-actual-products__nav-btn:focus {
    border-color: #c8c8c8;
    outline: none;
    background: #fff;
    color: #333;
}

button.shop-actual-products__nav-btn:disabled,
.shop-actual-products--no-nav button.shop-actual-products__nav-btn {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.shop-actual-products__nav-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.shop-actual-products__track-wrap {
    min-width: 0;
    margin: 0 -4px;
}

.shop-actual-products__track {
    display: flex;
    gap: var(--sap-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 4px 6px;
}

.shop-actual-products__track::-webkit-scrollbar {
    display: none;
}

.shop-actual-products__card {
    flex: 0 0 var(--sap-card-width);
    width: var(--sap-card-width);
    scroll-snap-align: start;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--sap-border);
    border-radius: 10px;
}

.shop-actual-products__link {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}

.shop-actual-products__link:hover,
.shop-actual-products__link:focus {
    color: inherit;
    text-decoration: none;
}

.shop-actual-products__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin-bottom: 14px;
}

.shop-actual-products__image {
    display: block;
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.shop-actual-products__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--sap-text);
}

.shop-actual-products__art {
    display: block;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--sap-muted);
}

.shop-actual-products__price {
    display: block;
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sap-text);
}

.shop-actual-products__stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

.shop-actual-products__stock-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sap-green);
}

.shop-actual-products__stock-text {
    font-size: 13px;
    line-height: 1.3;
    color: var(--sap-status);
}

.shop-actual-products__updated {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.shop-actual-products__updated-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--sap-green);
}

.shop-actual-products__updated-text {
    font-size: 12px;
    line-height: 1.3;
    color: var(--sap-muted);
}
