/* Block "Last shipments" - shared for home, product, about, b2b */
.shipments-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.shipments-section__header {
    text-align: center;
    margin-bottom: 48px;
}

.shipments-section__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.shipments-section__title span {
    color: #f0cf4c;
}

.shipments-section__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #f0cf4c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.shipments-section__subtitle {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.shipments-section__btn-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shipments-section__btn-all:hover {
    background: #f0cf4c;
    color: #1a1a1a;
}

.shipments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .shipments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .shipments-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .shipments-section__header {
        text-align: left;
        margin-bottom: 24px;
    }
    .shipments-section__title {
        font-size: 22px;
    }
    .shipments-section__subtitle {
        margin: 0;
        font-size: 14px;
    }
    .shipments-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 4px 4px 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .shipments-grid::-webkit-scrollbar {
        height: 4px;
    }
    .shipments-grid::-webkit-scrollbar-thumb {
        background: #f0cf4c;
        border-radius: 2px;
    }
    .shipment-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
    .shipment-card__img {
        height: 180px;
    }
    .shipment-card__content {
        padding: 16px 20px 20px;
    }
}

.shipment-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.shipment-card__img {
    height: 220px;
    overflow: hidden;
}

.shipment-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shipment-card:hover .shipment-card__img img {
    transform: scale(1.05);
}

.shipment-card__content {
    padding: 20px 24px 24px;
}

.shipment-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shipment-card__title a {
    color: inherit;
    text-decoration: none;
}

.shipment-card__title a:hover {
    color: #f0cf4c;
}

.shipment-card__date {
    font-size: 13px;
    color: #9ca3af;
}
