.vouchers-carousel {
    background-color: var(--color-bg-secondary);
    display: flex;
    gap: 8px;

    overflow-x: auto;
    overflow-y: visible;      /* QUAN TRỌNG */
    -webkit-overflow-scrolling: touch;

    align-items: stretch;     /* để item tự cao */
    padding-bottom: 4px;      /* tránh bị cắt bóng / border */
}

.vouchers-carousel__track {
    display: flex;
    gap: 8px;
    padding: 8px;
}

.voucher-item {
    flex: 0 0 115px;
    min-height: 48px;

    background-color: var(--color-bg-brand-2st);

    border-radius: 8px;

    padding: 2px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 2px;                 /* THAY cho space-between */

    justify-content: center;  /* CANH GIỮA THEO CHIỀU DỌC */
    text-align: center;       /* CANH GIỮA THEO NGANG */

    text-decoration: none;    /* DỨT GẠCH */
	box-shadow:
        0 1px 4px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255, 180, 60, 0.15);
		
	position: relative; /* bắt buộc để neo pseudo-element */
    overflow: hidden;   /* để khoét gọn */
}

/* lỗ tròn bên trái */
.voucher-item::before,
.voucher-item::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--color-bg-secondary);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* trái */
.voucher-item::before {
    left: -5px; /* thò ra ngoài 1 nửa */
}

/* phải */
.voucher-item::after {
    right: -5px;
}

.voucher-item__name {
    color: var(--color-invert-1st);
}

.voucher-item__discount,
.voucher-item__note {
    color: var(--color-bg-secondary);
}


.voucher-item__discount--highlight {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-state-error);
}
